public function all() { define("ACTION_NAME", "all"); require fimport('function/user'); require fimport("function/share"); if (intval($GLOBALS['fanwe']->var['uid']) == 0) { fHeader("location: " . FU('user/login')); } global $_FANWE; $list_html = getAllList(); include template('page/home'); display(); }
<li class="active">Accept Request</li> </ol> </div> </div> <?php if (!(empty($_POST) || null == @$_POST['id'])) { TODO; ?> <div class="alert alert-success" role="alert">Request status updated</div> <?php } //load the old request //TODO need to add new include './libs/request.php'; //hard coded till sitn in integration $__data = getAllList(7); //TODO: need to fix the query ?> <div class="row"> <div class="col-md-12"> <div class="alert alert-success" role="alert">Scan the QR code to get the route.</div> </div> </div> <?php foreach ($__data["request"] as &$data) { $google_url = "https://api.qrserver.com/v1/create-qr-code/?size=300x300&data=" . urlencode("https://www.google.com/maps/dir/12.9220774,77.6807421/" . $data["latitude"] . "," . $data["longitude"]); ?> <div class="row sr-br-div"> <div class="col-xs-4"> <img style="width: 100%; height: 100%;max-width: 116px;" class="media-object" src="<?php
<?php require_once 'getNames.php'; #$resultArray = array_merge( getChemicalList(), getGOList() ); $resultArray = getAllList(); # jsonencore ajax the array back echo json_encode($resultArray); # DC from database database_disconnect();