From Sagar, 6 Years ago, written in PHP.
Embed
  1. <?php
  2. function sversion() {
  3. echo "v1.9.8";
  4. };
  5.    $time = microtime();
  6.    $time = explode(' ', $time);
  7.    $time = $time[1] + $time[0];
  8.    $start = $time;
  9.    ?>
  10. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  11. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:lang="en" xmlns:fb="http://ogp.me/ns/fb#">
  12.    <head>
  13.       <title>Welcome to Private SMS <?php sversion();?> | Private SMS Sender | Private SMS Bomber | Private Group SMS</title>
  14.       <!--Meta Tags-->
  15.       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  16.       <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  17.       <link rel="icon" href="images/icons/sms.png" type="image/x-icon" size="16x16" />
  18.       <!--JavaScript-->
  19.       <script type="text/javascript" src="//cdn.mindfreakers.net/ajax/libs/jquery/1.11.0/jquery.js"></script>
  20.           <script type="text/javascript" src="js/login.js"></script>
  21.       <!--//JavaScript-->
  22.    </head>
  23.    <!-- Main Body Code -->
  24.    <body>
  25.       <div id="header">
  26.          <div id="logo"> Private SMS <?php sversion();?> </div>
  27.       </div>
  28.       <?php
  29.                   include('includes/database.php');
  30.                                   $tbl = "loginform";
  31.                                   session_start();
  32.                                   if (isset($_SESSION['loginid'], $_SESSION['password'], $_SESSION['spass'])) {
  33.                                   $sessql = mysql_query("SELECT * FROM $tbl WHERE loginid = '".$_SESSION['loginid']."' LIMIT 1");
  34.                                   while($row = mysql_fetch_array($sessql))
  35.                                   {
  36.                                   $fname = $row['fname'];
  37.                                   $loginid = $row['loginid'];
  38.                                   $spass = $_SESSION['spass'];
  39.                                   $smsent = $row['smsent'];
  40.                                   $credits = $row['credits'];
  41.                                   echo "<div id='userloginhead'>Welcome, " . $fname . "<br>ID: " . $loginid . "</div>";
  42.                                   echo "<span class='st'>Status:</span><span id='output'></span>";
  43.                                   echo "<div id='creditvalue'><b>Credits:</b> " . $credits . " <b>SMS Sent:</b> " . $smsent . "</div>";                          
  44.                           echo "<a href='logout.php' id='logoutbutton'><u>Logout</u></a>";
  45.                                   ?>
  46.  
  47.       <div id="navigation">
  48.           </div>
  49.           <ul id="nav">
  50.           <li id="credits"><a href="#credit">Credits</a></li>
  51.           <li id="sms"><a href="#sms">Free SMS</a></li>
  52.           <li id="group"><a href="#group">Group SMS</a></li>
  53.           </ul>
  54.           <p id="content">
  55.           Welcome to Private SMS <?php sversion();?> by Sagar Gulati. Send free unlimited free SMS to any number in India with a
  56.           Private Sender ID powered by Virtual Communications.
  57.           </p>
  58.           <div id="PrivateSMS">
  59.          <form action="" method="POST" name="smsbomber" enctype="multipart/form-data" autocomplete="on">
  60.             <div class="head">Mobile Number:</div>
  61.             <input tabindex="1" placeholder="9876543210" type="text" maxlength="10" name="mobile" id="mobile">
  62.             <div class="head">Message:</div>
  63.             <input tabindex="2" placeholder="Hello there!" type="text" name="message" id="message">
  64.             <br>
  65.             <input style="margin-top: 5px;" tabindex="4" align="center" type="submit" name="SendMessage" id="SendMessage" value="Send"/>
  66.          </form>
  67.       </div>
  68.       <footer>
  69.          <?php
  70.             $time = microtime();
  71.             $time = explode(' ', $time);
  72.             $time = $time[1] + $time[0];
  73.             $finish = $time;
  74.             $total_time = round(($finish - $start), 4);
  75.             echo '<div id="pagetime">Page rendered in '.$total_time.' seconds.</div>';
  76.             ?>
  77.       </footer>
  78.    </body>
  79. </html>
  80. <?php
  81. }
  82. }
  83. else {
  84. header('Location: index.php');
  85. }
  86. ?>
  87.  

Replies to Login Private Sms rss

Title Name Language When
Re: Login Private Sms 7838080391 php 11 Months ago.
Re: Login Private Sms 7838080391 php 11 Months ago.
Re: Login Private Sms Guest php 1 Year ago.