for($i=0;$i ';
} else {
$chpos = strpos($mystring, "'");
if( $chpos == true ) $imageShow = ' ';
}
}
if( $imageShow != '' ) {
?>
|
|
}
}
?>
|
|
|
|
if( $isHomePage == 1 ) $cname='首頁';
?>
|
$count = 0;
if( $isHomePage == 1 )
$result = mysql_query("select * from category where status =1 and pseq=1 order by orderno asc") or die(mysql_error());
else
$result = mysql_query("select * from category where status =1 and pseq=$cur_seq order by orderno asc") or die(mysql_error());
while($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
$category_seq = $row["seq"];
$category_name = $row["name"];
$category_pic = $row["category_pic"];
?>
|
$count++;
}
mysql_free_result($result);
?>
|
|
|
|
|
|
|
|
|
|
|
|
信 |
箱 |
|
|
|
|
|
|
|
|
|
if( $isHomePage == 1 ) {
?>
|
|
for($i=0;$i ';
} else {
$chpos = strpos($mystring, "'");
if( $chpos == true ) echo ' ';
}
}
}
?>
$result = mysql_query("select * from content where status=1 and coid=-1") or die(mysql_error());
while($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo $row["content"];
}
mysql_free_result($result);
?>
|
$count = 0;
$result = mysql_query("select * from category where status =1 and pseq=11 order by orderno asc") or die(mysql_error());
while($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
$category_seq = $row["seq"];
$category_name = $row["name"];
$category_pic = $row["category_pic"];
$classid = 'sub_menu_active_menubar';
$note1 = $row["note1"];
?>
if( $category_pic != '' ) {
echo ' ';
}
?> |
|
$count++;
}
mysql_free_result($result);
?>
|
} else {
?>
if( $cur_sub_template != '' ) $cur_template = $cur_sub_template;
if( $cur_template!= ''
&& $cur_template != '新聞樣板1'
&& $cur_template != '新聞樣板1+申請表單1'
&& $cur_template != '新聞樣板1+申請表單2'
&& $cur_template != '新聞樣板1+時間設定1'
) {
//echo 'Use Template!';
include("admin/form1/formDefinedTemplate.php");
} else {
if( $cur_sub_template == '新聞樣板1' || $cur_template == '新聞樣板1'
|| $cur_sub_template == '新聞樣板1+申請表單1'
|| $cur_sub_template == '新聞樣板1+申請表單2'
|| $cur_template == '新聞樣板1+申請表單1'
|| $cur_template == '新聞樣板1+申請表單2'
|| ( $cur_sub_template == '' && $cur_template == '' )
) {
include("admin/include/news_template_1.inc.php");
}
?>
|
if( $cur_sub_template == '新聞樣板1+申請表單1' || $cur_template == '新聞樣板1+申請表單1' ) {
?>
include("admin/form1/form1Template.php");
?>
|
} else if( $cur_sub_template == '新聞樣板1+申請表單2' || $cur_template == '新聞樣板1+申請表單2' ) {
?>
include("admin/form1/form2Template.php");
?>
|
} else if( $cur_sub_template == '新聞樣板1+時間設定1' || $cur_template == '新聞樣板1+時間設定1' ) {
?>
include("admin/timetable/timesTemplate.php");
?>
|
}
}
}
?>
|