hjkhghopjkertteerterterterertertrtoirh
bnmbertsurhetertertertertertertertpdf'tdfg
/
home
/
ubuntu
/
bmse.net
/
Upload FileeE
HOME
<?php ob_start(); session_start(); header('Content-Type: application/json'); //CONFIGARATIONS - ///////////////////////////////////// //ini_set('display_errors',1); define("SITE_PATH","https://www.bmse.net/"); define("DOCUMENT_ROOT","/home/w0yxy4bjb020/public_html/bmse.net/bmseweb/"); define("DB_SERVER","localhost"); define("DB_USER","bmsebro"); define("DB_PASSWORD","4rfvbhu8"); define("DB_NAME","bmse"); define("DB_NAME2","bmsemall"); require_once("includes/classes/mysql.class.php"); require_once("includes/functions/functions.php"); $db = new Database(DB_SERVER,DB_USER,DB_PASSWORD,DB_NAME); //include ("fpconfig.php"); $name1 = mysqli_connect('localhost','bmsebro','4rfvbhu8','bmse'); $valuelist=array(); # Getting exhibit content //$exhibitor = $db->getRow('select * from `bmse_joinus_content` where name=? and language=?',array('exhibitor',1)); $exhibitorvideos = $db->getRows("SELECT `image` FROM bmse_expo_testimonials where status='1' and remove='1' ORDER BY `id` ASC "); $testimonials=array(); foreach($exhibitorvideos as $exhibitorvideo){ $exhibitorvideo['image']=SITE_PATH.'admin/images/testimonials/'.$exhibitorvideo['image']; $testimonials[]=$exhibitorvideo; } # User Guides For Exhibitors $rows = $db->getRows('SELECT `title`, `file_name` FROM `bmse_user_guides` WHERE remove=1 ORDER BY `category_type`'); $User_Guides=array(); foreach($rows as $row){ $row['guide_link']=SITE_PATH.'admin/Userguides/'.$row['file_name']; $User_Guides[]=$row; } $exhibitor['content_image']=SITE_PATH.'admin/images/testimonials/content.png'; $exhibitor['guides']=$User_Guides; $exhibitor['testimonials']=$testimonials; $exhibitor['interested_in_exhibit_link']=SITE_PATH.'exhi_apply.php'; $exhibitor['already_exhibit_link']=SITE_PATH.'exhibitoradmin/login.php'; echo json_encode($exhibitor); ?>