-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgermanium.php
81 lines (65 loc) · 2.22 KB
/
germanium.php
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?
include "./include/inc_base.php";
$c_code1 = $domainCategory[c_code1];
$c_code2 = '2';
$_GET['c_code3'] = mysql_real_escape_string(htmlentities($_GET['c_code3']));
if(empty($_GET['c_code3']))
{
$pre_qry1 = "select * from chan_shop_category where c_code1 = '$c_code1' && c_code2 = '$c_code2' && c_code3 <> '0' order by pos asc limit 1,1";
$pre_rst1 = mysql_query($pre_qry1);
$pre_row1 = mysql_fetch_assoc($pre_rst1);
$c_code3 = $pre_row1['c_code3'];
}
else
{
$c_code3 = $_GET['c_code3'];
}
// ťóÇ°źł¸í
$qry1 = "select * from chan_shop_category where c_code1 = '$c_code1' && c_code2 = '$c_code2' && c_code3 = '$c_code3'";
$rst1 = mysql_query($qry1,$dbConn);
$row1 = mysql_fetch_assoc($rst1);
$page_title = Category_name($c_code1,$c_code2,$c_code3);
include "./include/inc_top.php";
?>
<table width="94%" align=center border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="33" style="padding-left:12px;"><img src="<?= _WEB_BASE_DIR ?>/images/ico_home.gif" align="absmiddle"> <a href=<?= _WEB_BASE_DIR ?>/>Home</a> > <b><?= Category_name($c_code1,$c_code2,'0') ?></b></td>
</tr>
<tr>
<td height="1" bgcolor="#eeeeee"></td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td>
<table width="100%" align=center border="0" cellspacing="0" cellpadding="0">
<tr>
<td width=25% valign=top height=450 >
<table width=95% border=0 cellpadding=0 cellspacing=5 bgcolor=#FFFFFF>
<?= printGermaniumcategory(); ?>
</table>
</td>
<td width=75% valign=top bgcolor=#FFFFFF style="padding-top:10px">
<!-- ¸ŢŔÎ ¸Ţ´ş -->
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="3" style="table-layout:fixed">
<tr>
<td bgcolor=#f9f9f9 height=35 style="padding-left:10px"><h3><?= $page_title ?></h3></td>
</tr>
<tr>
<td valign=top style="white-break:normal;word-break:break-word;">
<br>
<?= stripslashes($row1[content]); ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br><br>
<?
include "./include/inc_bottom.php";
?>