|
|
mysql_connect("localhost","us11290","22tmMDR3");
mysql_select_db(db11290a);
$result = mysql_query("select * from spark_news order by news_date desc");
$row = mysql_fetch_array($result);
?>
最終更新日時 print substr($row["news_date"],0,4)?>年 print substr($row["news_date"],5,2)?>月 print substr($row["news_date"],8,2)?>日
|
|
$result = mysql_query("select * from spark_menu");
while($row = mysql_fetch_array($result)){
?>
if ($page == $row["menu_id"]){
?>
}
else{
?>
}//else
}//while
?>
|
mail@e-spark.jp
|
|
if ($page == null)
require("index.inc");
else{
if($url == null){
$result = mysql_query("select * from spark_menu where menu_id = '$page'");
$row = mysql_fetch_array($result);
$hit = $row["menu_hit"] + 1;
$command = "update spark_menu set menu_hit = " .$hit." where menu_id = ".$page;
mysql_query($command);
$url = $row["menu_url"];
require($url);
}
else{
require($url);
}
}
?>
Copyright 2003 Spark Co.,Ltd. All right reserved.
|
|
|
|