Ejemplo n.º 1
0
<?php

function viewmember($data)
{
    global $database;
    if ($database == null) {
        connectdb();
    }
    $result = mysqli_query($database, "SELECT * FROM watchdog_member WHERE groupname=" . $data);
    return $result;
}
if (isset($_SESSION['ewg'])) {
    viewmember($_SESSION['ewg']);
}
//INSERT INTO `projectbantay`.`user` (`user_id`, `username`, `password`, `email`, `facebook_id`, `twitter_id`, `role`, `name`) VALUES (NULL, 'psalmdavid', 'psalm', '*****@*****.**', NULL, NULL, 'comelec', 'psalm david caña');
Ejemplo n.º 2
0
     include GOLD_ADMIN . 'configuration.php';
     break;
 case "about":
     include GOLD_ADMIN . 'about.php';
     break;
 case "images":
     include GOLD_ADMIN . 'images.php';
     break;
 case "inventory":
     start_inventory();
     break;
 case "start_inventory":
     start_inventory();
     break;
 case "viewmember":
     viewmember();
     break;
 case "delete":
     delete();
     break;
 case "admineditmoney":
     admineditmoney();
     break;
 case "admin_sell":
     admin_sell();
     break;
 case "deluserquestion":
     deluserquestion();
     break;
 case "delusersaction":
     delusersaction();