update
This commit is contained in:
+14
-11
@@ -38,13 +38,18 @@ init();
|
||||
</body>
|
||||
</html>
|
||||
|
||||
/** page func start */
|
||||
<?php function show_index()
|
||||
|
||||
<?php
|
||||
// page func start
|
||||
|
||||
function show_index()
|
||||
{
|
||||
ob_start(); ?>
|
||||
|
||||
<div class="">
|
||||
|
||||
<p>
|
||||
<a href=""></a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -87,13 +92,12 @@ init();
|
||||
ob_clean();
|
||||
echo $html;
|
||||
}
|
||||
|
||||
// page func end
|
||||
?>
|
||||
/** page func end */
|
||||
|
||||
/** api func start */
|
||||
|
||||
<?php
|
||||
|
||||
// api func start
|
||||
function check_api()
|
||||
{
|
||||
$uri = $_SERVER["REQUEST_URI"];
|
||||
@@ -125,13 +129,12 @@ function api_test()
|
||||
]);
|
||||
}
|
||||
|
||||
// api func end
|
||||
?>
|
||||
/** api func end */
|
||||
|
||||
|
||||
/** common func start */
|
||||
|
||||
<?php
|
||||
// common func start
|
||||
function init()
|
||||
{
|
||||
define("BASE_PATH", __DIR__ . "/../");
|
||||
@@ -160,8 +163,8 @@ function show_page()
|
||||
}
|
||||
}
|
||||
|
||||
// common func end
|
||||
?>
|
||||
/** common func end */
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user