OSDN Git Service

一頁に表示できる最大件数を200に拡大。ユーザーTLとキーワードTLで長い投稿を省略しないように変更。
[yanmah2/YANMAH2-season2-.git] / about.php
1 <?php
2 //YANMAH2 - Yet ANother Mobile Accelerated HatenaHaiku
3 //(c) 2014 YANMAH2 project
4 //This program is freesoftware. you can redistribute it and/or modify it under the terms of the [GNU Affero GPL v3](http://www.gnu.org/licenses/agpl.html).
5 ?>
6 <?php
7 define("HELLO","world");
8 require_once "product_definitions.php";
9 require_once "configurable_variables.php";
10 require_once "common_functions.php";
11 ?>
12 <?php
13 require_once 'init_processor.php';
14 if (!isset($_SESSION['auth']) || $_SESSION['auth'] != TRUE){
15 // if ($_SESSION['image'] != 'on'){
16   $_SESSION = array();
17   if (isset($_COOKIE[session_name()])){
18         setcookie(session_name(), '', time() - 42000, dirname($_SERVER['SCRIPT_NAME']) . '/', $_SERVER["SERVER_NAME"]);
19   }
20   session_destroy();
21 // }
22 }
23 //session_regenerate_id(TRUE);
24 ?>
25 <?php
26 $selfcall = htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES);
27 $self_anchor = "http://{$_SERVER["SERVER_NAME"]}{$selfcall}";
28 if ($get_image == 'on'){
29                 $self_anchor_with_imagemode = $self_anchor . '?image=on';
30 } else {
31                 $self_anchor_with_imagemode = $self_anchor . '?image=off';
32 }
33 $echo = <<<EOL
34 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
35    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
36 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
37 <head>
38         <meta http-equiv="Content-Type" content="text/html; charset={$meta_charset}" />
39         <meta http-equiv="Content-Style-Type" content="text/css" />
40         <meta http-equiv="Content-Script-Type" content="text/javascript" />
41         <meta name="viewport" content="initial-scale={$iscale}, minimum-scale=0.1" />
42         <title>{$product_name_abbr} について - {$site_name}</title>
43         <link rel="stylesheet" href="{$style_sheet}" />
44         <link rel="icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
45         <link rel="shortcut icon" href="./favicon.ico" type="image/vnd.microsoft.icon" />
46         <link rel="apple-touch-icon" href="./apple-touch-icon.png" />
47 </head>
48 <body>
49 <div id="page">
50 EOL;
51 $echo = $echo . echoCommonHeader('#com_footer', $self_anchor_with_imagemode) . "<hr />\n";
52 $echo = $echo . <<<EOL
53 <div id="header" class="about">
54 <h1 id="about-head" class="head1">{$product_name_abbr} について</h1>
55 </div>
56 <div class="contents">
57 <h2>はてなハイクとは何か?</h2>
58 <p><a href="{$haiku_official_url}">はてなハイク</a>とは、ウェブサービス企業の<a href="http://mobile.hatena.ne.jp/">はてな</a>が運営しているミニブログです。詳しくは、<a href="{$haiku_official_url}help">はてなハイクのヘルプ</a>をご覧ください。</p>
59
60 <h2>{$product_name_abbr} とは何か?</h2>
61 <p>{$product_name_abbr}({$product_name_full})は、はてなのミニブログ「<a href="{$haiku_official_url}">はてなハイク</a>」のコンテンツを携帯端末向けに小さく表示する PHP プログラムです。低速回線や処理性能に余裕がない端末でも、ハイクをサクサクと読めるように設計されています。このウェブサイトには、<a href="{$admin_url}">{$admin_name}</a> が設置・管理しています。現在ここで動作している {$product_name_abbr} のヴァージョンは、{$product_version} です。</p>
62
63 <p>{$product_name_abbr} は、フリーソフトウェアライセンスである Affero GPL v3 の条件下で使用許諾されています。あなたは、<a href="{$project_url}">{$project_name}</a> から {$product_name_abbr} のソースコードを入手し、 Affero GPL v3 の条件下で自由に利用、改変、再配布を行うことができます。{$project_name} では {$product_name_abbr} に関する文書を公開し、要望やバグ報告なども受け付けています。</p>
64
65 <p>このサイトに設置されている {$product_name_abbr} が、設置者により独自に改変されたものである場合、あなたは {$admin_name} からそのソースコードを受け取ることができます。</p>
66 </div>
67 EOL;
68 ?>
69 <?php
70 $navi_paging = FALSE;
71 $navi_imaging = FALSE;
72 require 'footer_include.php';
73 $echo = $echo . '</div></body></html>';
74 echo mb_convert_encoding($echo, $charcode, 'UTF-8');
75 ?>