function WriteShareVideo() { $myquery = new myquery(); $email_data = $myquery->Get_Email_Settings(); $email_verify = $email_data['share_video_template']; $fp = fopen(BASEDIR . "/includes/email_templates/share_video.template.php", "w"); fwrite($fp, ' <?php $body ="' . replace_quotes($email_verify) . '" ?> '); $email_header = $myquery->Get_Email_Settings_headers(); $email_verify_header = $email_header['share_video_template']; $fp = fopen(BASEDIR . "/includes/email_templates/share_video.header.php", "w"); fwrite($fp, ' <?php $subj ="' . $email_verify_header . '" ?> '); }
*/ require_once 'classes/exceptions/db_exception.php'; require_once 'classes/db.class.php'; require_once 'functions.php'; check_install('before'); require_once 'dbconnect.php'; require_once 'classes/ClipBucket.class.php'; require_once 'classes/columns.class.php'; require_once 'classes/my_queries.class.php'; require_once 'classes/actions.class.php'; require_once 'classes/category.class.php'; require_once 'classes/user.class.php'; require_once 'classes/lang.class.php'; require_once 'classes/pages.class.php'; $cb_columns = new cb_columns(); $myquery = new myquery(); $row = $myquery->Get_Website_Details(); if (!DEVELOPMENT_MODE) { define('DEBUG_LEVEL', 2); } else { define('DEBUG_LEVEL', 0); } switch (DEBUG_LEVEL) { case 0: error_reporting(0); ini_set('display_errors', '0'); break; case 1: error_reporting(E_ALL ^ E_NOTICE); ini_set('display_errors', 'on'); break;
function duplicate_email($name) { $myquery = new myquery(); if ($myquery->check_email($name)) { return true; } else { return false; } }
**/ ob_start(); session_start(); //Required Files require_once 'dbconnect.php'; require_once 'functions.php'; require_once 'classes/pages.class.php'; require_once 'classes/my_queries.class.php'; require_once 'classes/user.class.php'; require_once 'classes/calcdate.class.php'; require_once 'classes/signup.class.php'; require_once 'classes/image.class.php'; require_once 'classes/upload.class.php'; require_once 'classes/stats.class.php'; $pages = new pages(); $myquery = new myquery(); $userquery = new userquery(); $calcdate = new CalcDate(); $signup = new signup(); $Upload = new Upload(); $stats = new stats(); $row = $myquery->Get_Website_Details(); $email_data = $myquery->Get_Email_Settings(); $ads = $myquery->Get_Advertisments(); //Website Details define('TITLE', $row['site_title']); define('SLOGAN', $row['site_slogan']); //Seo URLS define('SEO', $row['seo']); //Set yes / no //Required Modules and Their Paths (Editable In Admin Panel)