pixmicat

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/PMC2Prototype/ @ 365  →  /PMC2Prototype/ @ 366
/PMC2Prototype/lib/lib_core.php
@@ -84,6 +84,7 @@
global $config;
$config['ENV.FOLDER.BOARD'] = './board/'.$configName; // 版面資料夾
$config['ENV.FOLDER.TEMP'] = './tmp/'.$configName.'_'; // 暫存資料夾(含前置字元)
$config['ENV.FOLDER.RESOURCE'] = dirname($_SERVER['SCRIPT_NAME']).'/resource'; // 資源資料夾
$config['ENV.FOLDER.IMG'] = './board/'.$configName.'/'.$config['IMG_DIR']; // 圖檔資料夾
$config['ENV.FOLDER.THUMB'] = './board/'.$configName.'/'.$config['THUMB_DIR']; // 預覽圖檔資料夾
}
/PMC2Prototype/resource/pixmicat.htm.tmpl
@@ -3,12 +3,54 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="zh-tw" />
<title><?php echo PMCCore_getConfig('TITLE')?></title>
<title><?php echo PMCCore_getConfig('TITLE');?></title>
<link rel="stylesheet" type="text/css" href="<?php echo PMCCore_getConfig('ENV.FOLDER.RESOURCE');?>/mainstyle.css" />
<script type="text/javascript" src="<?php echo PMCCore_getConfig('ENV.FOLDER.RESOURCE');?>/mainscript.js"></script>
</head>
<body>
 
<div id="header">
<div id="toplink">[<a href="<?php echo PMCCore_getConfig('ENV.PHP_SELF');?>/search">搜尋</a>] [<a href="<?php echo PMCCore_getConfig('ENV.PHP_SELF');?>/action/status">系統資訊</a>] [<a href="<?php echo PMCCore_getConfig('ENV.PHP_SELF');?>/admin">管理區</a>] [<a href="<?php echo PMCCore_getConfig('ENV.PHP_SELF');?>?">重新整理</a>]</div><br />
<h1><?php echo PMCCore_getConfig('TITLE');?></h1>
<hr class="top" />
</div>
 
<form action="<?php echo PMCCore_getConfig('ENV.PHP_SELF');?>/posts" method="post" enctype="multipart/form-data" onsubmit="return c();" id="postform_main">
<div id="postform">
[<span id="show" class="hide" onmouseover="showform();" onclick="showform();">投稿</span><span id="hide" class="show" onmouseover="hideform();" onclick="hideform();">隱藏表單</span>]
<input type="hidden" name="mode" value="regist" />
<input type="hidden" name="MAX_FILE_SIZE" value="524288" />
<input type="hidden" name="upfile_path" value="" />
<div style="text-align: center;">
<table cellpadding="1" cellspacing="1" id="postform_tbl" style="margin: 0px auto; text-align: left;">
<tr><td class="Form_bg"><b>名 稱</b></td><td><input class="hide" type="text" name="name" value="spammer" /><input type="text" name="kjbnhjVyt" id="fname" size="28" /></td></tr>
<tr><td class="Form_bg"><b>E-mail</b></td><td><input type="text" name="vHjdfiDFr" id="femail" size="28" /><input type="text" class="hide" name="email" value="[email protected]" /></td></tr>
<tr><td class="Form_bg"><b>標 題</b></td><td><input class="hide" value="DO NOT FIX THIS" type="text" name="sub" /><input type="text" name="hjYIgijUB" id="fsub" size="28" /><input type="submit" name="sendbtn" value="送 出" /></td></tr>
<tr><td class="Form_bg"><b>內 文</b></td><td><textarea name="PgUYfbvKI" id="fcom" cols="48" rows="4" style="width: 400px; height: 80px;"></textarea><textarea name="com" class="hide" cols="48" rows="4">EID OG SMAPS</textarea></td></tr>
<tr><td class="Form_bg"><b>附加圖檔</b></td><td><input type="file" name="upfile" id="fupfile" size="25" /> <input class="hide" type="checkbox" name="reply" value="yes" />[<input type="checkbox" name="noimg" id="noimg" value="on" /><label for="noimg">無貼圖</label>] [<input type="checkbox" name="up_series" id="up_series" value="on" /><label for="up_series">連貼機能</label>]</td></tr>
<tr><td class="Form_bg"><b>刪除用密碼</b></td><td><input type="password" name="pwd" size="8" maxlength="8" value="" /><small>(刪除文章用。英數字8字元以內)</small></td></tr>
<tr><td colspan="2">
<div id="postinfo">
<ul>
<li>可附加圖檔類型:GIF, JPG, PNG,瀏覽器才能正常附加圖檔</li>
<li>附加圖檔最大上傳資料量為 512 KB。當回文時E-mail填入sage為不推文功能</li>
<li>當檔案超過寬 200 像素、高 200 像素時會自動縮小尺寸顯示</li>
<li>目前附加圖檔使用量大小: 23387 KB / 25000 KB</li>
</ul>
<noscript><div>*您選擇關閉了JavaScript,但這對您的瀏覽及發文應無巨大影響</div></noscript>
</div>
</td></tr>
</table>
</div>
<script type="text/javascript">l1();</script>
<hr />
</div>
</form>
<script type="text/javascript">hideform();</script>
 
<div id="Content">
TEST<br />
show form &amp; thread structure here. using <a href="<?php echo PMCCore_getConfig('ENV.PHP_SELF')?>/show/1">ajax</a> to load thread.
show form &amp; thread structure here. using <a href="<?php echo PMCCore_getConfig('ENV.PHP_SELF');?>/show/1">ajax</a> to load thread.
</div>
</body>
</html>