예제 #1
0
}
?>
</table>
<a class='whiteButton' href="<?php 
eh($_SERVER['SCRIPT_NAME']);
?>
?setdef=1<?php 
echo $_conf['k_at_a'];
?>
">デフォルトに戻す</a>
</filedset>
</div>
<?php 
// フッタHTMLを表示する
if (UA::isK() && !UA::isIPhoneGroup()) {
    echo $hr . P2View::getBackToIndexKATag();
}
?>
</body></html><?php 
exit;
//======================================================================
// 関数(このファイル内でのみ利用)
//======================================================================
/**
 * 携帯TOPメニューの順番を変更する関数
 *
 * @access  public
 * @param   string  $code
 * @param   string  $set  top, up, down, bottom
 * @return  boolean
 */
예제 #2
0
파일: editpref.php 프로젝트: poppen/p2
]</p>
<?php 
}
if (!$_conf['ktai']) {
    $dl_palace_atag = P2View::tagA(UriUtil::buildQueryUri(basename($_SERVER['SCRIPT_NAME']), array('dl_palace_file' => 1, UA::getQueryKey() => UA::getQueryValue())), hs('スレの殿堂リストの生データをダウンロード'));
    ?>
<p>[<?php 
    echo $dl_palace_atag;
    ?>
]</p>
<?php 
}
// 携帯用フッタHTML
if (UA::isK()) {
    echo $hr . "\n";
    echo P2View::getBackToIndexKATag() . "\n";
}
?>
</body></html><?php 
exit;
//==================================================================================
// 関数(このファイル内のみで利用)
//==================================================================================
/**
 * @return  void  exit
 */
function _dlDataFile($file)
{
    if (!file_exists($file)) {
        P2Util::printSimpleHtml('データファイルが存在しないよ。');
        exit;
예제 #3
0
파일: info.php 프로젝트: poppen/p2
if (!empty($_GET['popup'])) {
    ?>
<div align="center"><?php 
    if ($_GET['popup'] == 1) {
        ?>
<form action=""><input type="button" value="ウィンドウを閉じる" onClick="window.close();"></form><?php 
    } elseif ($_GET['popup'] == 2) {
        ?>
<form action=""><input id="timerbutton" type="button" value="Close Timer" onClick="stopTimer(document.getElementById('timerbutton'))"></form><?php 
    }
    ?>
</div><?php 
}
// }}}
if (UA::isK()) {
    echo P2View::getHrHtmlK() . P2View::getBackToIndexKATag();
}
?>
</body></html><?php 
exit;
//========================================================================
// 関数 (このファイル内でのみ利用)
//========================================================================
/**
 * スレ情報HTMLを表示する
 *
 * @return  void
 */
function _printInfoTrHtml($s, $c_ht)
{
    global $_conf;