home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / 5.iso / multi_pages_php3 / index.php < prev    next >
Encoding:
PHP Script  |  2018-03-06  |  4.1 KB  |  85 lines

  1.  
  2. <html dir="rtl">
  3. <head>
  4. <link rel="icon" href="http://www.example.com/favicon.ico" type="image/x-icon">
  5. <link rel="shortcut icon" href="091-512.ico" type="image/x-icon">
  6. <link rel="shortcut icon" href="unnamed.png" type="image/png">
  7. <link rel="shortcut icon" href="jasimmaabed500.jpg" type="image/jpg">
  8.  
  9.  
  10. <meta http-equiv="Content-Language" content="en-us">
  11. <meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
  12. <title>├╤▀╟Σ ╟ß┼╙ß╟π</title>
  13. </head>
  14.  
  15. <body bgcolor="#CCFF99">
  16. <div align="center">
  17.  <table border="0" width="1000">
  18.  
  19. <tr><td align="center"><span lang="ar-iq"><b>
  20.     <font size="7" face="Arabic Typesetting" color="#800000">├╤▀╟Σ ╟ß┼╙ß╟π</font></b></span><p>
  21.     </b></font><span lang="ar-iq">           <img border="0" src="5ir.jpg" width="315" height="316">        
  22.     </span></p>
  23.     </p>
  24.  </td></tr>
  25.  
  26. <tr><td valign="top" align="justify">
  27.  
  28. <table border="1" width="100%" dir="rtl">
  29.     <tr>
  30.         <td width="16%" bgcolor="#99FFCC"><p align="center"><b><span class="line_height"><font size="6"><a href="index.php">╟ß╘σ╟╧╩╟Σ</a></font></span></b></td><td width="5%"> </td>
  31.         <td width="16%" bgcolor="#99FFCC"><p align="center"><b><span class="line_height"><font size="6"><a href="index2.php">╟ß╒ß╟╔</a></font></span></b></td><td width="5%"> </td>
  32.         <td width="16%" bgcolor="#99FFCC"><p align="center"><b><span class="line_height"><font size="6"><a href="index3.php">╟ß╥▀╟╔</a></font></span></b></td><td width="5%"> </td>
  33.         <td width="16%" bgcolor="#99FFCC"><p align="center"><b><span class="line_height"><font size="6"><a href="index4.php">╒φ╟π ╤π╓╟Σ</a></font></span></b></td><td width="5%"> </td>
  34.         <td width="16%" bgcolor="#99FFCC"><p align="center"><b><span class="line_height"><font size="6"><a href="index5.php">╟ß═╠</a></font></span></b></td>
  35.     </tr>
  36. </table>
  37. <p align="center"><b><font size="7" face="Arabic Typesetting" color="#800000">╟ß╤▀Σ ╟ß├µß ╟ß╘σ╟╧╩╟Σ</font></b></p>
  38. <blockquote>
  39.     <p><b><font size="6" face="Arabic Typesetting">     ├Σ φ┌╩▐╧ ╟ß┼Σ╙╟Σ ├Σ ╟ßßσ µ═╧σ σµ ╟ß╤╚ ╟ßπ╟ß▀ ╟ßπ╩╒╤▌ ╟ß╬╟ß▐ ╟ß╤╥╟▐ í µφ╦╚╩ ßσ ╠πφ┌ ╟ß├╙π╟┴ ╟ß═╙Σ∞ µ╟ß╒▌╟╩ ╟ß┌ß∞ ╟ß╩φ ├╦╚╩σ╟ ßΣ▌╙σ í ├µ ├╦╚╩σ╟ ßσ ╤╙µßσ µφ┌╩▐╧ ├Σ ╟ßßσ µ═╧σ σµ ╟ßπ╙╩═▐ ßß┌╚╟╧╔ ╧µΣ ╙µ╟σ ▀π╟ ▐╟ß ╙╚═╟Σσ : ( ╚╧φ┌ ╟ß╙π╟µ╟╩ µ╟ß├╤╓ ├Σ∞ φ▀µΣ ßσ µß╧ µßπ ╩▀Σ ßσ ╒╟═╚╔ µ╬ß▐ ▀ß ╘φ┴ µσµ ╚▀ß ╘φ┴ ┌ßφπ í ╨ß▀π ╟ßßσ ╤╚▀π ß╟ ┼ßσ ┼ß╟ ╟ßßσ σµ ╬╟ß▐ ▀ß ╘φ┴ ▌╟┌╚╧µσ µσµ ┌ß∞ ▀ß ╘φ┴ µ▀φß ) ╟ß├Σ┌╟π/101-102.
  40.  
  41.     </font></b></p>
  42.     <p><b><font face="Arabic Typesetting" size="6">     ▀π╟ φ┌╩▐╧ ╟ß┼Σ╙╟Σ ├Σ ╟ßßσ ├╤╙ß ╤╙µßσ π═π╧╟≡ ╒ß∞ ╟ßßσ ┌ßφσ µ╙ßπ   µ├Σ╥ß ┌ßφσ ╟ß▐╤┬Σ µ├π╤σ ╚┼╚ß╟█ σ╨╟ ╟ß╧φΣ ┼ß∞ ╟ßΣ╟╙ ▀╟▌╔ µφ┌╩▐╧ ├Σ π═╚╔ ╟ßßσ µ╤╙µßσ µ╪╟┌╩σπ╟ µ╟╠╚╔ ┌ß∞ ▀ß ├═╧ µß╟ ╩╩═▐▐ π═╚╔ ╟ßßσ ┼ß╟ ╚π╩╟╚┌╔ ╤╙µßσ ╒ß∞ ╟ßßσ ┌ßφσ µ╙ßπ : ( ▐ß ┼Σ ▀Σ╩π ╩═╚µΣ ╟ßßσ ▌╟╩╚┌µΣφ φ═╚╚▀π ╟ßßσ µφ█▌╤ ß▀π ╨Σµ╚▀π µ╟ßßσ █▌µ╤ ╤═φπ ) ┬ß ┌π╤╟Σ /31.
  43.     </font></b></p>
  44.     <p> </p>
  45. </blockquote>
  46.  
  47. </td>
  48.                         </tr>
  49.                     
  50. <tr><td>
  51.     <p align="center"><font size="7" face="Arabic Typesetting">╥φ╟╤╟╩ ╟ßπµ▐┌ : [ <b>
  52. <?php
  53.     $servername = "localhost";
  54.     $username = "root";
  55.     $password = "";
  56.     // Create connection
  57.     $conn = mysql_connect($servername, $username, $password);
  58.     // Check connection
  59.     if ($conn->connect_error) {   die("Connection failed: " . $conn->connect_error); }
  60.  
  61.     mysql_select_db("ai", $conn);
  62.         $query = "SELECT * FROM visit";
  63.     $result = mysql_query($query, $conn) or die () ;   //(mysql_error() )
  64.     $views = mysql_result($result, 0, "count") + 1 ;
  65.     $sql = "UPDATE visit SET count='$views'";
  66.         $result = mysql_query($sql, $conn) or die () ;
  67.         mysql_close($conn);
  68.         echo $views ;
  69.  
  70. ?>
  71.  ] ╥φ╟╤╔<p align="center"> </td></tr>
  72. <tr><td>
  73.     <p align="center"><b><font size="6" face="Arabic Typesetting">πΣ ▀╩╟╚ ├╒µß ╟ß╧φΣ ╟ß┼╙ß╟πφ ßß╘φ╬ π═π╧ ╚Σ ╟╚╤╟σφπ ╟ß╩µφ╠╤φ</font></b></td></tr>
  74. </table></div>
  75.  <p> </p>
  76. <p><b><font size="6" face="Arabic Typesetting">
  77. <br><Br><br>
  78. </font></b></p>
  79. </body>
  80. </html>
  81.  
  82.  
  83. </body>
  84. </html>
  85.