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