Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- $token = md5(uniqid(rand(), TRUE));
- $_SESSION['token'] = $token;
- $_SESSION['token_time'] = time();
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Freedom Partnership Transfer</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="">
- <meta name="author" content="">
- <!--link rel="stylesheet/less" href="less/bootstrap.less" type="text/css" /-->
- <!--link rel="stylesheet/less" href="less/responsive.less" type="text/css" /-->
- <!--script src="js/less-1.3.3.min.js"></script-->
- <!--append ‘#!watch’ to the browser URL, then refresh the page. -->
- <link href="css/bootstrap.min.css" rel="stylesheet">
- <link href="css/style.css" rel="stylesheet">
- <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
- <!--[if lt IE 9]>
- <script src="js/html5shiv.js"></script>
- <![endif]-->
- <!-- Fav and touch icons -->
- <script type="text/javascript" src="js/jquery.min.js"></script>
- <script type="text/javascript" src="js/bootstrap.min.js"></script>
- <script type="text/javascript" src="js/scripts.js"></script>
- </head>
- <body>
- <center><img src="img/logo.png"></centre>
- <div class="container">
- <?php
- $confDisplay = 'display:none;';
- // if the url param exists, display confirmation
- if(isset($_GET["success"]) && $_GET["success"]==true){
- $confDisplay = 'display:inline;';
- echo(' <div style="<?php echo $confDisplay; ?>" class="alert alert-success" role="alert">
- Your form has been submitted!
- </div>');
- }
- else if(isset($_GET["fail"]) && $_GET["fail"]==true){
- $confDisplay = 'display:inline;';
- echo(' <div style="<?php echo $confDisplay; ?>" class="alert alert-danger" role="alert2">
- Your form was not submitted!
- </div>');
- }
- ?>
- <div class="row clearfix">
- <div class="col-md-12 column">
- <div class="page-header">
- <h3 class="text-center">
- Partnership Transfer Form
- </h3>
- </div>
- <p>
- <span>Are you interested in transferring to Freedom! or a network powered by Freedom?</span><br><br><span>Please fill-out the following information, and hit "Submit" when you are finished :-)</span><br><br><span>All of the transfer's will be done by the beginning of each month, if you choose to cancel your transfer, and stay partnered with your current network. please e-mail our management team: --></span><a href="mailto:[email protected]">[email protected]</a><br><br><span>Thank you,</span><br><span>Network Studios Management Team</span>
- </p>
- <h3 class="text-center">
- </h3>
- <h4>
- Channel Information
- </h4>
- <form role="form" action="submit.php" method="POST">
- <input type="hidden" name="token" value="<?php echo $token; ?>" />
- <div class="form-group">
- <input type="text" class="alphanumericOnly form-control input-lg" id="Full-Name" placeholder="Full Name">
- </div>
- <div class="form-group">
- <input type="text" class="alphanumericOnly form-control input-lg" id="customID" placeholder="Custom ID">
- <p class="help-block">
- You can find your custom ID on your <a href="http://apply.networkstudios.tv/" target="_blank">Dashboard</a> in the Overview section.
- </p>
- </div>
- <div class="input-group">
- <span class="input-group-addon">youtube.com/user/</span>
- <input type="text" class="alphanumericOnly form-control input-lg" id="ChannelUserName" placeholder="MyChannel">
- </div>
- </br>
- </div>
- <div class="col-xs-6" style="padding-left: 0px;">
- <div class="form-group ">
- <input type="text" class="form-control input-lg" placeholder="Monthly Views" name="views" id="views" autocomplete="off" required />
- </div></div><div class="col-xs-6" style="padding-right: 0px;">
- <div class="form-group ">
- <input type="text" class="form-control input-lg" placeholder="Subscribers" name="subs" id="subs" autocomplete="off" onkeypress="return blockNonNumbers(this, event, true, false);" min="-1" value="" required />
- </div></div>
- <h4>Network Transfer Infromation</h4>
- <div class="form-group ">
- <input type="text" class="form-control input-lg" placeholder="Current Network Name" name="netfrom" id="netfrom" autocomplete="off" value="" required />
- <span class="help-block">Which network are they currently with in Freedom?</span>
- </div>
- <div class="form-group ">
- <input type="text" class="form-control input-lg" placeholder="New Network Name" name="netto" id="netto" autocomplete="off" value="" required />
- <span class="help-block">Which network are they going to be transferring to?</span>
- </div>
- <button type="submit" class="btn btn-success btn-lg btn-block" style"width:100%;">Submit</button>
- </form>
- </div>
- </div>
- </div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment