OSDN Git Service

はてブ投稿機能を廃止/トビラにキーワード一覧を戻す/スパム対策の調整/リリースの準備。
[yanmah2/YANMAH2-season2-.git] / keywords.php
index 5fac4b4..d1aac3b 100644 (file)
@@ -12,13 +12,11 @@ require_once "common_functions.php";
 <?php
 require_once "init_processor.php";
 if (!isset($_SESSION['auth']) || $_SESSION['auth'] != TRUE){
-// if ($_SESSION['image'] != 'on'){
   $_SESSION = array();
   if (isset($_COOKIE[session_name()])){
        setcookie(session_name(), '', time() - 42000, dirname($_SERVER['SCRIPT_NAME']) . '/', $_SERVER["SERVER_NAME"]);
   }
   session_destroy();
-// }
 }
 //session_regenerate_id(TRUE);
 ?>
@@ -36,10 +34,6 @@ if (isset($_GET["user"])) checkId($_GET["user"]);
 if (isset($_GET['page'])) checkPagenum($_GET['page']);
 ?>
 <?php
-//
-// require 'login_processor.php';
-?>
-<?php
 if (isset($_GET['word']) && $_GET['word'] != ''){
   $get_word = $_GET['word'];
   $get_word = mb_convert_encoding($get_word, 'UTF-8', $charcode);
@@ -130,7 +124,6 @@ if (isset($_SESSION['auth']) && $_SESSION['auth'] === TRUE){
   ';
   $echo = $echo . '<label for="go2keyword">キーワード</label><input type="text" name="word" maxlength="170" id="go2keyword" /><label for="go2keyword">を</label>
   ';
-  // if (isset($_GET['image']) && $_GET['image'] == 'on') $echo = $echo . '<input type="hidden" name="image" value="on" />';
   $echo = $echo . '<input type="submit" value="検索" /></form></li>';
   if (isset($_GET["page"]) && $_GET["page"] != ''){
          if (isset($get_word) && $get_word != ''){