「LiteSite/工作程式」修訂間的差異
跳至導覽
跳至搜尋
| 第1行: | 第1行: | ||
| − | == | + | ==免登入,預設連資料庫,不管工作程式須不須要== |
<pre><?php | <pre><?php | ||
include_once '../../constant.php'; // 載入伺服器參數 | include_once '../../constant.php'; // 載入伺服器參數 | ||
include_once "../theme.php"; // 載入 site 布景,順便會載入 site 常、變數,連資料庫 | include_once "../theme.php"; // 載入 site 布景,順便會載入 site 常、變數,連資料庫 | ||
| − | + | $str=…; | |
| − | + | if(!isset($_REQUEST['ajax'])){echo $html1;} | |
| − | </pre> | + | echo $str; |
| + | if(!isset($_REQUEST['ajax'])){echo $html2;} | ||
| + | ?></pre> | ||
於 2021年6月14日 (一) 18:18 的修訂
免登入,預設連資料庫,不管工作程式須不須要
<?php
include_once '../../constant.php'; // 載入伺服器參數
include_once "../theme.php"; // 載入 site 布景,順便會載入 site 常、變數,連資料庫
$str=…;
if(!isset($_REQUEST['ajax'])){echo $html1;}
echo $str;
if(!isset($_REQUEST['ajax'])){echo $html2;}
?>