include "../common/lib.php"; notLogin(); $login_name = login_name(); $row_site = site_data(); if ($_SESSION["message"]) { $m .= $_SESSION["message"]; $_SESSION["message"] = NULL; $m .= "<p><a href='index.php'>OK</a></p>"; } $result = call_data("*", "goal", ""); $row = mysql_fetch_array($result); ?> <?php include "../common/header.php"; headerArea("更新目標の編集:SetucoCMS", $row_site, $login_name); ?> <!-- topicPath START --> <div id="topicPath"> <p><a href="../index.php">トップ</a><img src="../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p>更新目標の編集</p> </div> <!-- topicpath END --> <!-- section START --> <div class="section"> <div id="topichAreaL"> <div id="topichAreaR">
//ページのデータを取得 $retu = "*"; $table = "page"; $rule = " WHERE page_id='{$page_id}'"; //カテゴリーのデータを取得 $result = call_data($retu, $table, $rule); $row = mysql_fetch_array($result); $retu_c = "cat_id,cat_name"; $table_c = "category"; $rule_c = " ORDER BY cat_name"; $result_c = call_data($retu_c, $table_c, $rule_c); ?> <?php include "../../common/header.php"; headerArea("「" . $row['page_title'] . "」の編集:SetucoCMS", $row_site, $login_name); ?> <!-- topicPath START --> <div id="topicPath"> <p><a href="../../index.php">トップ</a><img src="../../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p><a href="../index.php">ページの編集・削除</a><img src="../../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p>「技能五輪全国大会レポート」の編集</p> </div> <!-- topicpath END --> <!-- section START --> <div class="section"> <div class="hArea">
//サイドナビの該当箇所をアクティブにする $_SESSION["active"] = "site"; $login_name = login_name(); $row_site = site_data(); if ($_SESSION["message"]) { $m .= $_SESSION["message"]; $_SESSION["message"] = NULL; $m .= "<p><a href='index.php'>OK</a></p>"; } $result = call_data("*", "site", ""); $row = mysql_fetch_array($result); ?> <?php include "../common/header.php"; headerArea("サイト情報の編集:SetucoCMS", $row_site, $login_name); ?> <!-- topicPath START --> <div id="topicPath"> <p><a href="../index.php">トップ</a><img src="../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p>サイト情報の編集</p> </div> <!-- topicpath END --> <!-- section START --> <div class="section"> <div id="topichAreaL"> <div id="topichAreaR">
include "../../common/lib.php"; notLogin(); //サイドナビの該当箇所をアクティブにする $_SESSION["active"] = "file"; $login_name = login_name(); $row_site = site_data(); if ($_SESSION["message"]) { $m .= $_SESSION["message"]; $_SESSION["message"] = NULL; $m .= "<p><a href='index.php'>OK</a></p>"; } ?> <?php include "../../common/header.php"; headerArea("「logo.jpg」の編集:SetucoCMS", $row_site, $login_name); ?> <!-- topicPath START --> <div id="topicPath"> <p><a href="../../index.php">トップ</a><img src="../../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p><a href="../index.php">ファイルの追加・編集・削除</a><img src="../../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p>「logo.jpg」の編集</p> </div> <!-- topicpath END --> <!-- section START --> <div class="section"> <div class="hArea">
//メッセージを取得 if ($_SESSION["message"]) { $m .= $_SESSION["message"]; $_SESSION["message"] = NULL; $m .= "<p><a href='index.php'>OK</a></p>"; } //ページのデータを取得 $retu = "*"; $table = "page"; $rule = " ORDER BY page_date DESC LIMIT 0,10"; $result = call_data($retu, $table, $rule); ?> <?php include "../common/header.php"; headerArea("ページの編集・削除:SetucoCMS", $row_site, $login_name); ?> <!-- topicPath START --> <div id="topicPath"> <p><a href="../index.php">トップ</a><img src="../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p>ページの編集・削除</p> </div> <!-- topicpath END --> <!-- section START --> <div class="section"> <div class="hArea"> <h3 id="textType">プレビュー</h3>
<?php include "../common/lib.php"; notLogin(); //サイドナビの該当箇所をアクティブにする $_SESSION["active"] = "directory"; $login_name = login_name(); $row_site = site_data(); ?> <?php include "../common/header.php"; headerArea("サイト構造(カテゴリー・ページの一覧):SetucoCMS", $row_site, $login_name); ?> <!-- topicPath START --> <div id="topicPath"> <p><a href="../index.php">トップ</a><img src="../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p>サイト構造(カテゴリー・ページの一覧)</p> </div> <!-- topicpath END --> <!-- section START --> <div class="section"> <div id="topichAreaL"> <div id="topichAreaR"> <div id="topichArea">
$goal_month = $num_month_page - $row_goal["goal_month"]; if ($goal_month < 0) { $goal_month = trim($goal_month, "-"); $goal_month_m = "目標まであと{$goal_month}ページ!"; } else { if ($goal_month == 0) { $goal_month_m = "目標達成!"; } else { $goal_month_m = "目標からプラス{$goal_month}ページ!"; } } ?> <?php include "common/header.php"; headerArea("SetucoCMSトップ", $row_site, $login_name); ?> <!-- section"野望" START --> <div class="section"> <form action="index.php" method="post"> <dl id="designs"> <?php //野望の編集 $yabou = $row_goal["goal_yabou"]; if ($_GET["edit"] == true) { print '<dt><label for="goal_yabou">野望</label></dt>'; print '<dd><em>';
url_get("cat_edit.php"); } if ($_SESSION["message"]) { $m .= $_SESSION["message"]; $_SESSION["message"] = NULL; $m .= "<p><a href='index.php'>OK</a></p>"; } $retu = "*"; $table = "category"; $rule = " ORDER BY cat_name"; $result = call_data($retu, $table, $rule); ?> <?php include "../common/header.php"; headerArea("カテゴリーの追加・編集・削除:SetucoCMS", $row_site, $login_name); ?> <!-- topicPath START --> <div id="topicPath"> <p><a href="../index.php">トップ</a><img src="../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p>カテゴリーの追加・編集・削除</p> </div> <!-- topicpath END --> <!-- section START --> <div class="section"> <div id="topichAreaL"> <div id="topichAreaR">
$up_m .= "<p><a href='index.php'>OK</a></p>"; } //カテゴリーの取得 $retu = "cat_id,cat_name"; $table = "category"; $rule = " ORDER BY cat_name"; $result = call_data($retu, $table, $rule); //ログインしているユーザID $login = $_SESSION["login"]; //現在時刻 $page_date = date("Y-m-d H:i"); ?> <?php include "../../common/header.php"; headerArea("ページの新規作成:SetucoCMS", $row_site, $login_name); ?> <!-- topicPath START --> <div id="topicPath"> <p><a href="../../index.php">トップ</a><img src="../../images/topicPath.gif" width="6" height="11" alt="の中の" /></p> <p>ページの新規作成</p> </div> <!-- topicpath END --> <!-- section START --> <div class="section"> <div id="topichAreaL"> <div id="topichAreaR">