示例#1
0
文件: index.php 项目: ygres/sblog
 function listPage()
 {
     system::setParam("page", "listPage");
     blog::buildList("redirect");
     $id = 0;
     $action = '';
     if (isset($_GET["contentID"]) && isset($_GET["action"])) {
         $id = intval($_GET["contentID"]);
         $action = $_GET["action"];
     }
     if ($action == "delete") {
         blog::buildList("redirect");
     }
 }
示例#2
0
文件: index.php 项目: ygres/sblog
 function listPage()
 {
     system::setParam("page", "listPage");
     blog::buildList("video");
     $id = 0;
     // @mgenry соблюдай типизацию, мудак блять
     $action = '';
     if (isset($_GET["contentID"]) && isset($_GET["action"])) {
         $id = intval($_GET["contentID"]);
         $action = $_GET["action"];
     }
     if ($action == 'delete') {
         blog::buildList("video");
     }
 }
示例#3
0
文件: portfolio.php 项目: ygres/sblog
 function items()
 {
     system::setParam("page", "portfolioItems");
     blog::buildList("portfolio");
 }
示例#4
0
文件: blog.php 项目: ygres/sblog
 function categories()
 {
     system::setParam("page", "categories");
     blog::buildList("categories", "blog");
 }
示例#5
0
文件: users.php 项目: ygres/sblog
 function index()
 {
     system::setParam("page", "users");
     blog::buildList("users");
 }