forked from Vitexus/CE-Phoenix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharticle_popup_print.php
More file actions
58 lines (49 loc) · 2.18 KB
/
Copy patharticle_popup_print.php
File metadata and controls
58 lines (49 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/*
$Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
require('includes/application_top.php');
require('includes/languages/' . $language . '/article_manager/article_info.php');
$article_info_query = tep_db_query("select a.articles_id, a.articles_date_added, a.articles_date_available, a.authors_id, ad.articles_name, ad.articles_description, ad.articles_image, ad.articles_url, au.authors_name, au.authors_image from articles a left join authors au using(authors_id), articles_description ad where a.articles_status = '1' and a.articles_id = '" . (int)$_GET['aID'] . "' and ad.articles_id = a.articles_id and ad.language_id = '" . (int)$_GET['language_id'] . "'");
$article_info = tep_db_fetch_array($article_info_query);
$navigation->remove_current_page();
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<title><?php echo $article_info['articles_name']; ?></title>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
</head>
<body onload="javascript: window.print();">
<table border="0" cellpadding="0">
<tr>
<td class="main"><b><?php echo $article_info['articles_name']; ?></b></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_BY_AM . ' ' . $article_info['authors_name']; ?></td>
</tr>
<tr>
<td class="smallText"><?php echo TEXT_COURTESY_OF; ?></td>
</tr>
<tr>
<td><div style="margin-bottom:10px"> </div></td>
</tr>
<tr>
<td class="main"><?php echo $article_info['articles_description']; ?></td>
</tr>
<tr>
<td><div style="margin-bottom:10px"> </div></td>
</tr>
<tr>
<td class="main" align="right"><a href="javascript: self.close ()"><?php echo TEXT_CLOSE_POPUP; ?></a></td>
</tr>
</table>
</body>
</html>