GIF89a;
Direktori : /home/serb/public_html/m/ |
Current File : /home/serb/public_html/m/add-myvideos.old.php |
<? session_start(); if(!($_SESSION['islogin'])) { ?> <script language="javascript"> location.href="index.php"; </script> <? } //include("config.php"); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); /*$sql="SELECT * FROM page_content WHERE id='45'"; $res=execute_query($sql); $row=mysql_fetch_array($res);*/ ?> <? if ($_POST) { $title=$_POST['title']; $video_name=$_POST['video_name']; $sql_ind_escort2="update escort_details set vid_you_title='$title',vid_you='$video_name' where user_id='".$_SESSION['userid']."'"; execute_query($sql_ind_escort2); ?> <script language="javascript"> location.href="add-myvideos.php?msg=success"; </script> <? } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="height=device-height,width=device-width,initial-scale=1.0,maximum-scale=1.0"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black"> <title>Escort Service-Escorts,Female Escorts,Models,Call Girls,GEF,Companions</title> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="themes/escserve.css" /> <link rel="stylesheet" href="themes/jquery.mobile.icons.min.css" /> <link rel="stylesheet" href="jMobile.css" /> <script src="jquery.min.js"></script> <script src="jqueryMobile.js"></script> <script> $( document ).on( "pageinit", function() { $( "#popupVideo iframe" ) .attr( "width", 0 ) .attr( "height", 0 ); $( "#popupVideo" ).on({ popupbeforeposition: function() { var size = scale( 497, 298, 15, 1 ), w = size.width, h = size.height; $( "#popupVideo iframe" ) .attr( "width", w ) .attr( "height", h ); }, popupafterclose: function() { $( "#popupVideo iframe" ) .attr( "width", 0 ) .attr( "height", 0 ); } }); }); </script> </head> <body> <div data-role="page" id="page" data-theme="d" data-transition="flip"> <div id="headerTop"></div> <? include "includes/header.php";?> <div data-role="content" id="searchboxx"> <span style="float:left !important; margin-top:-5px !important;"><a style="float:left;" href="index.php" class="ui-btn ui-shadow ui-corner-all ui-icon-home ui-btn-icon-notext" data-iconpos="right" title="Go Home">Home</a></span> <span style="float:right !important; margin-top:-5px !important;"><a style="float:right;" href="my-account.php" class="ui-btn ui-shadow ui-corner-all ui-icon-back ui-btn-icon-notext" data-iconpos="right" title="Go Dashboard">back</a></span> </div> <div data-role="content"> <h2 id="loginheadertext">Add New Video</h2> <!--<p id="alsignup">Do you have a promo code? <a href="#" data-transition="flip" id="loginnow">Redeem it now, before you register!</a></p>--> <!-- <p id="loginalertmsg"> Please use your EscortService username and password to login bellow. </p> <p id="loginalertmsg"> Need to Register? <a href="join.html" id="jointextcolor" data-transition="flip" data-prefetch>Get Started Now!</a> </p>--> <form action="<?=$_SERVER['PHP_SELF'] ?>" method="post" name="frm" id="frm" data-ajax="false"> <input name="submit_form" value="1" type="hidden"> <label for="txt-username">Video Title:<span id="starcolor">*</span></label> <input type="text" name="title" id="txt-username" value=""> <label for="txt-email">Video URL:<span id="starcolor">*</span></label> <input type="tel" name="video_name" id="txt-email" value=""> <br/> e.g. http://www.youtube.com/watch?v=LsmnLdeEWdk <br/> <input type="hidden" name="postid" value="<?=$_GET['pid']?>" /> <input type="image" src="continue.png" style="height:35px; margin-top:10px;"> </form> <br/> <p> <? $sql_video="Select * from escort_details where user_id='".$_SESSION['userid']."'"; $res_video=execute_query($sql_video); $num_video=mysql_num_rows($res_video); $row_profile=mysql_fetch_array($res_video); $video=explode("=",$row_profile['vid_you']); $vid_id=end($video); $vidoe="select * from default_video where id='1'"; $resvid=execute_query($vidoe); $rowvid=mysql_fetch_array($resvid); $def_vid=explode("=",$rowvid['video_url']); $vdef=end($def_vid); ?> <? if($vid_id!=""){?> <iframe width="450" height="320" src="//www.youtube.com/embed/<?=$vid_id?>?modestbranding=1&rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe> <? }else if($row_profile['def_video']=='u'){?> <iframe width="450" height="320" src="test_upload/tera_deear_hua_jannat_2_download_indian_mp4_video_songs-(mobighar.com).mp4" src="//www.youtube.com/embed/<?=$vdef?>?modestbranding=1&rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe> <? } else {?> <div> </div> <? }?> </p> <script type="text/javascript"> $(document).ready(function(){ $("#jquery_jplayer_1").jPlayer({ ready: function () { $(this).jPlayer("setMedia", { m4a: "/test_upload/tera_deear_hua_jannat_2_download_indian_mp4_video_songs-(mobighar.com).mp4", oga: "/test_upload/tera_deear_hua_jannat_2_download_indian_mp4_video_songs-(mobighar.com).ogg" }); }, swfPath: "/js", supplied: "m4a, oga" }); }); </script> <div id="jquery_jplayer_1"></div> <div id="jp_container_1"> <a href="#" class="jp-play">Play</a> <a href="#" class="jp-pause">Pause</a> </div> <!--<a href="#dlg-invalid-credentials" data-rel="popup" data-transition="pop" data-position-to="window" id="btn-submit" ><img src="continue.png" style="height:35px; margin-top:10px;"></a>--> <div data-role="popup" id="dlg-invalid-credentials" data-dismissible="false" style="max-width:400px;"> <div role="main" class="ui-content"> <h3 class="mc-text-danger">Login Failed</h3> <p>Did you enter the right credentials?</p> <div class="mc-text-center"><a href="#" data-rel="back" class="ui-btn ui-corner-all ui-shadow ui-btn-b mc-top-margin-1-5">OK</a></div> </div> </div> </div> <div data-role="panel" data-display="push" data-position="right" data-theme="d" id="navMenu"> <? include "includes/right-menubar.php";?> </div><!-- /panel --> <div data-role="footer" > <div id="footerTop"> <? include "includes/footer.php";?> </div> <div id="footerBottom"><p>Copyright 2015 ESCORTSERVICE.ORG | All Rights reserved.</p></div> </div> </div> </body> </html>