$data_senmail['to_id'] = $data_user_tomail['user_id']; $data_senmail['from_id'] = $_SESSION['user_id']; $data_senmail['sub'] = $_REQUEST['subject']; $data_senmail['body'] = $_REQUEST['body']; $data_senmail['attachment'] = $_FILES['attachment']['name']; $data_senmail['date_time'] = date('y-m-d h:i:s'); $sentmail->dataInsert('ninerr_sentmail', $data_senmail); $data_inbox['gigs_id'] = $gig_id; $data_inbox['from_id'] = $data_user_tomail['user_id']; $data_inbox['to_id'] = $_SESSION['user_id']; $data_inbox['sub'] = $_REQUEST['subject']; $data_inbox['body'] = $_REQUEST['body']; $data_inbox['attachment'] = $_FILES['attachment']['name']; $data_inbox['date_time'] = date('y-m-d h:i:s'); $inboxmail->dataInsert('ninerr_inbox', $data_inbox); reDirect('messages.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title><?php echo SITE_TITLE; ?> </title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="javascript/jquery.min.js"></script> <script type="text/javascript" src="javascript/jquery.simplemodal.js"></script> <script type="text/javascript" src="javascript/init.js"></script> <script type="text/javascript" src="javascript/init1.js"></script>
<?php include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; include_once 'db_config/db_admin.php'; $admin = new admin(); $rs_user = $admin->admin_list(); if ($_REQUEST['id']) { $user->delete($_REQUEST['id']); reDirect('admin_users.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Orders - Admin </title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">'); </script> <script> function confirmDelete(delUrl) { if (confirm("Are you sure you want to delete")) { document.location = delUrl; } } </script> <!--[if IE]>
if ($_FILES['gigs_image']['name'] != '') { $gigs['gigs_image'] = date("ymdhi") . $_FILES['gigs_image']['name']; } $fldArray = array(); $fldArray['id'] = $gigs_id; $rs_gigs_edit = $gigs_obj->dataUpdate('ninerr_gigs', $gigs, $fldArray); //reDirect('edit_gigs.php?title='.str_replace(' ','-', $gigs_title).''); $fileName = $_FILES['gigs_image']['name']; if ($fileName != '') { $fileSize = '2000'; $fileTempName = $_FILES['gigs_image']['tmp_name']; $folderPath = 'gigsimg'; $oldfileName = ''; fileUpload($fileName, $oldfileName, $fileSize, $fileTempName, $folderPath, $maxSize = 5242880); } reDirect('edit_gigs.php?id=' . $gigs_id); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title><?php echo SITE_TITLE; ?> </title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="javascript/jquery.min.js"></script> <script type="text/javascript" src="javascript/jquery.simplemodal.js"></script> <script type="text/javascript" src="javascript/init.js"></script>
include_once 'db_config/db_user_transaction.php'; include_once 'db_config/db_user.php'; $user = new user(); if ($_REQUEST['submit']) { $user_login = $_REQUEST['user_login']; $user_pass = $_REQUEST['user_pass']; $tableM = 'ninerr_admin'; $dataArrayM = array("*" => ''); $fldArrayM = array("user_login" => $user_login, "user_pass" => $user_pass); $orderArrayM = array(); $orderTypeM = ''; $arrUSERREG = $user->dataSelect($tableM, $dataArrayM, $fldArrayM, $extraM, $orderArrayM, $orderTypeM, $limit, $offset); if (count($arrUSERREG[0]) > 0) { $_SESSION['user_login'] = $user_login; $_SESSION['user_id'] = $arrUSERREG[0][0]['user_id']; reDirect('users.php'); } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Login - Admin</title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">'); </script> <!--[if IE]>
<?php include_once 'config/db_conn.php'; include_once 'db_config/db_admin_paypal_id.php'; $paypal = new paypal(); $rs_paypal = $paypal->uniq_paypal_list('id', 1); $data_paypal = mysql_fetch_array($rs_paypal); if ($_REQUEST['submit']) { $table = 'ninerr_admin_paypal_id'; $paypal_id = $_REQUEST['paypal_id']; $dataArray = array("paypal_id" => $paypal_id); $fldArray = array("id" => 1); $paypal->dataUpdate($table, $dataArray, $fldArray); reDirect('paypal_desc.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Orders - Admin</title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">'); </script> <!--[if IE]> <link rel="stylesheet" type="text/css" href="css/ie-sucks.css" /> <![endif]--> </head>
<?php session_start(); include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; include_once 'db_config/db_user.php'; include_once 'db_config/db_admin_order_payment.php'; $user = new user(); $gigs = new gigs(); $rs_gigs = $gigs->uniq_gigs_list('gigs_title', $_POST['item_name']); $data_gigs = mysql_fetch_array($rs_gigs); $user_id = $_REQUEST['user_id']; $admin_order_payment = new admin_order_payment(); if ($_POST) { $array_1 = array("order_status_date" => date('Y:m:d')); $array_m = array_merge($array_1, $_POST); $admin_order_payment->dataInsert('ninerr_admin_order_payment', $array_m); $fldArray = array("user_id" => $user_id); $dataArray = array("cleader_fund" => $_POST['mc_gross'], "withdraw_request" => "sucess"); $admin_order_payment->dataUpdate('ninerr_user_transaction', $dataArray, $fldArray); reDirect('transaction.php?req=success'); }
<?php include_once 'config/db_conn.php'; // Check if the user is logged in if (!isset($_SESSION['username'])) { reDirect($_SERVER['HTTP_REFERER']); }
<?php include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; include_once 'db_config/db_cms.php'; $cid = $_REQUEST['cid']; $cms = new cms(); $rs_cms = $cms->uniq_cms_list("id", $cid); if ($_REQUEST['submit']) { $table = 'ninerr_cms'; $dataArray = array("cms_content" => $_REQUEST['cms_content']); $fldArray = array("id" => $_REQUEST['id']); $cms->dataUpdate($table, $dataArray, $fldArray); reDirect('cms.php'); //header ("Location: cms.php"); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Orders - Admin</title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">'); </script> <!-- TinyMCE --> <script type="text/javascript" src="tiny_mce/tiny_mce.js"></script> <script type="text/javascript">
<?php session_start(); include_once 'config/db_conn.php'; if (file_exists("install/install_biverr/index.php")) { reDirect('install/install_biverr/index.php'); } include_once 'db_config/db_gigs.php'; include_once 'db_config/db_user.php'; $user = new user(); $gigs = new gigs(); /*For Pagination */ $page = (int) (!isset($_GET["page"]) ? 1 : $_GET["page"]); $page = $page == 0 ? 1 : $page; $perpage = 10; //limit in each page $startpoint = $page * $perpage - $perpage; /*---------------*/ /* $gigs_data['gigs_title'] = ''; $gigs_data['catagory_id'] = ''; $fldArray['catagory_id'] = ''; $orderArray['catagory_id'] = ''; $orderArray['gigs_title'] = ''; $extra=' '; $orderType='desc'; $offset=0; $limit=20; $gigs->dataSelect('ninerr_gigs',$gigs_data,$fldArray,$extra,$orderArray,$orderType,$limit,$offset);*/ //$rs=$gigs->gigs_list(); if ($_REQUEST['tags'] != '') { $rs = $gigs->uniq_gigs_list_limit_like('gigs_keywords_tags', $_REQUEST['tags'], $startpoint, $perpage);
<?php session_start(); include_once 'config/db_conn.php'; if ($_SESSION['user_login'] == '') { reDirect('login.php'); }
$delivered = new delivered(); $orderid = base64_decode($_REQUEST['orderid']); if ($_REQUEST['submit']) { $data = array("order_id" => $orderid, "message" => $_REQUEST['message'], "attachment" => date("ymdhi") . $_FILES['attach']['name']); // $_FILES['attach']['name']; $rs_delivered = $delivered->dataInsert('ninerr_delivered', $data); $dataArray = array("order_status" => "compleated"); $fldArray = array("order_id" => $orderid); $order_payment->dataUpdate("ninerr_order_payment", $dataArray, $fldArray); $fileName = $_FILES['attach']['name']; $fileSize = '2000'; $fileTempName = $_FILES['attach']['tmp_name']; $folderPath = 'attach'; $oldfileName = ''; fileUpload($fileName, $oldfileName, $fileSize, $fileTempName, $folderPath, $maxSize = 5242880); reDirect('manage_order.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title><?php echo SITE_TITLE; ?> </title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="javascript/jquery.min.js"></script> <script type="text/javascript" src="javascript/jquery.simplemodal.js"></script> <script type="text/javascript" src="javascript/init.js"></script> <script type="text/javascript" src="javascript/init1.js"></script>
<?php include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; $id = $_REQUEST['id']; $gigs = new gigs(); $table = 'ninerr_gigs'; if ($_REQUEST['f'] == 'N') { $dataArray = array("gigs_featured" => "Y"); } else { $dataArray = array("gigs_featured" => "N"); } $fldArray = array("id" => $id); $gigs->dataUpdate($table, $dataArray, $fldArray); reDirect('user_gigs.php');
<?php include_once 'config/db_conn.php'; include_once 'db_config/db_recommend.php'; $recommend = new recommend(); $rs_recommend = $recommend->recommend_list(); if ($_REQUEST['id']) { $recommend->delete_list($_REQUEST['id']); reDirect('recommend.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Orders - Admin</title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">'); </script> <script> function confirmDelete(delUrl) { if (confirm("Are you sure you want to delete")) { document.location = delUrl; } } </script> <!--[if IE]> <link rel="stylesheet" type="text/css" href="css/ie-sucks.css" />
<?php session_start(); include_once 'config/db_conn.php'; if (isset($_SESSION['username_email']) || isset($_SESSION['user_id'])) { unset($_SESSION['username']); unset($_SESSION['user_id']); unset($_SESSION['username_email']); unset($_SESSION['user_name']); if (isset($_COOKIE[$cookie_name])) { // remove 'site_auth' cookie setcookie($cookie_name, '', time() - $cookie_time); } reDirect('index.php'); }
<?php include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; $id = $_REQUEST['id']; $gigs = new gigs(); $table = 'ninerr_gigs'; if ($_REQUEST['f'] == 'N') { $dataArray = array("gigs_featured" => "Y"); } else { $dataArray = array("gigs_featured" => "N"); } $fldArray = array("id" => $id); $gigs->dataUpdate($table, $dataArray, $fldArray); reDirect('gigs.php');
$user_data['user_fullname'] = $_REQUEST['user_fullname']; $user_data['user_primary_email'] = $_REQUEST['user_primary_email']; $user_data['user_paypal_account_email'] = $_REQUEST['user_paypal_account_email']; $user_data['user_desc'] = htmlspecialchars($_REQUEST['user_desc'], ENT_QUOTES); if ($_FILES['user_image']['name'] != '') { $user_data['user_image'] = date("ymdhi") . $_FILES['user_image']['name']; } $fldArray['user_id'] = $_SESSION['user_id']; $rs_user = $user->dataUpdate('ninerr_user', $user_data, $fldArray); $fileName = $_FILES['user_image']['name']; $fileSize = '2000'; $fileTempName = $_FILES['user_image']['tmp_name']; $folderPath = 'userimg'; $oldfileName = ''; fileUpload($fileName, $oldfileName, $fileSize, $fileTempName, $folderPath, $maxSize = 5242880); reDirect('profile_edit.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title><?php echo SITE_TITLE; ?> </title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="javascript/jquery.min.js"></script> <script type="text/javascript" src="javascript/jquery.simplemodal.js"></script> <script type="text/javascript" src="javascript/init.js"></script> <script type="text/javascript" src="javascript/init1.js"></script>
<?php session_start(); include_once 'config/db_conn.php'; include_once 'db_config/db_user_transaction.php'; $trans = new trans(); $date = date('y-m-d h:i:s'); $dataArray = array("user_id" => $_SESSION['user_id'], "pending_fund" => $_REQUEST['amt'], "withdraw_request" => "pending", "withdraw_request_ammount" => $_REQUEST['amt'], "tran_date" => $date); $trans->dataInsert('ninerr_user_transaction', $dataArray); $dataArray1 = array("seller_withdraw_status" => "pending"); $fldArray = array(); $trans->dataUpdate('ninerr_user_transaction', $dataArray1, $fldArray); reDirect('sales_balance.php?req=success');
<?php include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; include_once 'db_config/db_catagory.php'; $catagory = new catagory(); $cid = $_REQUEST['cid']; $rs_catagory = $catagory->uniq_catagory_list("catagory_id", $cid); if ($_REQUEST['submit']) { $table = 'ninerr_catagory'; $dataArray = array("catagory_name" => $_REQUEST['catagory_name']); $dataArray = array("catagory_description" => $_REQUEST['catagory_description']); $dataArray = array("catagory_status" => $_REQUEST['catagory_status']); $fldArray = array("catagory_id" => $_REQUEST['id']); $catagory->dataUpdate($table, $dataArray, $fldArray); reDirect('catagory.php'); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Orders - Admin</title> <link rel="stylesheet" type="text/css" href="css/theme.css" /> <link rel="stylesheet" type="text/css" href="css/style.css" /> <script> var StyleFile = "theme" + document.cookie.charAt(6) + ".css"; document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">'); </script> <!--[if IE]> <link rel="stylesheet" type="text/css" href="css/ie-sucks.css" />
<?php session_start(); $gigs_id = $_REQUEST['id']; include_once 'config/db_conn.php'; include_once 'db_config/db_gigs.php'; $gigs_obj = new gigs(); if ($_REQUEST['action'] == 'active') { $gigs = array("gigs_status" => "Active"); } if ($_REQUEST['action'] == 'suspend') { $gigs = array("gigs_status" => "Inactive"); } $fldArray = array("id" => $gigs_id); $gigs_obj->dataUpdate('ninerr_gigs', $gigs, $fldArray); reDirect('user_gigs.php?action=success');