require_once "../include/user.inc.php"; require_once "../include/video.inc.php"; require_once "../include/video_folder.inc.php"; require "checklogin.inc.php"; //for checking iWebVideo user //If post data if($_GET['action'] == "save_template") { $iphone_subject = $_POST['iphone_subject']; $templateContent = stripslashes($_POST['templateText']); $user->iphone_subject = $iphone_subject; $user->iphon_email = $templateContent; $user->Save(); } //get iphone template data of user $uid = $user->id; $res = mysql_query("select iphon_email,iphone_subject from users where id=".$uid); if(mysql_num_rows($res) > 0) $template_data = mysql_fetch_assoc($res); //get general ipohne email temaplate $res2= mysql_query("select * from mailtemplates where name='iphone_video_email'"); $template_data2 = mysql_fetch_assoc($res2); //If usre data not fount than assign general tempalte data if($template_data['iphon_email']=='') $content = htmlspecialchars(addslashes($template_data2['message'])); else $content = htmlspecialchars(addslashes($template_data['iphon_email'])); if($template_data['iphone_subject']=='') $template_subject=$template_data2['subject']; else $template_subject=$template_data['iphone_subject']; include "../header.inc.php"; include "../js/redactor/redactor.php"; ?>
Once the video is uploaded, it may take time to encode the video. You will receive email when it is ready.