home *** CD-ROM | disk | FTP | other *** search
/ HTML Examples / 5.iso / multi_pages_php3 / index5.php < prev   
Encoding:
PHP Script  |  2018-03-06  |  4.7 KB  |  93 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">     ╠┌ß ╟ßßσ ßßπ╙ßπφΣ ▐╚ß╔ φ╩╠σµΣ ┼ßφσ╟ ┌Σ╧ ╒ß╟╩σπ µ╧┌╟╞σπ ═φ╦ π╟ ▀╟Σµ╟ µσφ ╟ß╚φ╩ ╟ß┌╩φ▐ ▌φ π▀╔ ╟ßπ▀╤π╔ : ( ▌µß µ╠σ▀ ╘╪╤ ╟ßπ╙╠╧ ╟ß═╤╟π µ═φ╦ π╟ ▀Σ╩π ▌µßµ╟ µ╠µσ▀π ╘╪╤σ ) ╟ß╚▐╤╔ /144.
  40.  
  41.     </font></b></p>
  42.     <p><b><font face="Arabic Typesetting" size="6">     µßπ╟ ▀╟Σ╩ ╧φ╟╤ ╟ßπ╙ßπφΣ π╩╚╟┌╧╔ µ╟ß┼╙ß╟π φ╧┌µ╟ ┼ß∞ ╟ß╟╠╩π╟┌ µ╟ß╩┌╟╤▌ , ▀π╟ φ╧┌µ ┼ß∞ ╟ß╩┌╟µΣ ┌ß∞ ╟ß╚╤ µ╟ß╩▐µ∞ µ╟ß╩µ╟╒φ ╚╟ß═▐ µ╟ß╧┌µ╔ ┼ß∞ ╟ßßσ µ╩┌┘φπ ╘┌╟╞╤ ╟ßßσ ß╨╟ ├µ╠╚ ╟ßßσ ┌ß∞ ▀ß π╙ßπ ╚╟ß█ ┌╟▐ß ▐╟╧╤ ├Σ φ╥µ╤ ╚φ╩σ ╟ß┌╩φ▐ , µφ╪µ▌ ╚σ , µφ─╧φ  πΣ╟╙▀ ╟ß═╠ ▀π╟ ╚φΣσ╟ ╟ßßσ µ╤╙µßσ . ▌▐╟ß ╩┌╟ß∞ : ( µßßσ ┌ß∞ ╟ßΣ╟╙ ═╠ ╟ß╚φ╩ πΣ ╟╙╩╪╟┌ ┼ßφσ ╙╚φß╟ µπΣ ▀▌╤ ▌┼Σ ╟ßßσ █Σφ ┌Σ ╟ß┌╟ßπφΣ ) ┬ß ┌π╤╟Σ /97.
  43.  
  44.     </font></b></p>
  45.     <p><b><font face="Arabic Typesetting" size="6">     µ╟ß═╠ πµ╙π ╩╩╠ß∞ ▌φσ µ═╧╔ ╟ßπ╙ßπφΣ , µ▐µ╩σπ , µ┌╥╩σπ ▌╟ß╤╚ µ╟═╧ µ╟ß▀╩╟╚ µ╟═╧ µ╟ß╤╙µß µ╟═╧ µ╟ß├π╔ µ╟═╧╔ µ╟ß┌╚╟╧╔ µ╟═╧╔ µ╟ßπß╟╚╙ µ╟═╧╔ .
  46.  
  47. µßß═╠ ┬╧╟╚ µ╘╤µ╪ φ╠╚ ├Σ φ┌πß ╚σ╟ ╟ßπ╙ßπ ▀═▌┘ ╟ßß╙╟Σ µ╟ß╙π┌ µ╟ß╚╒╤ ┌π╟ ═╤π ╟ßßσ µ┼╬ß╟╒ ╟ßΣφ╔ µ╪φ╚ ╟ßΣ▌▐╔ , µ╟ß╩═ßφ ╚π▀╟╤π ╟ß├╬ß╟▐ µ╟ß╟╚╩┌╟╧ ┌Σ ▀ß π╟ φ▌╙╧ ╟ß═╠ πΣ ╟ß╤▌╦ µ╟ß▌╙µ▐ µ╟ß╠╧ß ▀π╟ ▐╟ß ╙╚═╟Σσ : ( ╟ß═╠ ├╘σ╤ π┌ßµπ╟╩ ▌πΣ ▌╤╓ ▌φσΣ ╟ß═╠ ▌ß╟ ╤▌╦ µß╟ ▌╙µ▐ µß╟ ╠╧╟ß ▌φ ╟ß═╠ µπ╟ ╩▌┌ßµ╟ πΣ ╬φ╤ φ┌ßπσ ╟ßßσ µ╩╥µ╧µ╟ ▌┼Σ ╬φ╤ ╟ß╥╟╧ ╟ß╩▐µ∞ µ╟╩▐µΣ φ╟ ├µßφ ╟ß├ß╚╟╚ ) ╟ß╚▐╤╔ /197.
  48.  
  49.     </font></b></p>
  50.     <p><b><font face="Arabic Typesetting" size="6">     µ╟ß═╠ ┼╨╟ ▐╟π ╚σ ╟ßπ╙ßπ ┌ß∞ ╟ßµ╠σ ╟ß╘╤┌φ ╟ß╒═φ═ , µ▀╟Σ ╬╟ß╒╟≡ ßßσ ▀╟Σ ▀▌╟╤╔ ß╨Σµ╚σ ▐╟ß ┌ßφσ ╟ß╒ß╟╔ µ╟ß╙ß╟π : ( πΣ ═╠ ßßσ ▌ßπ φ╤▌╦ µßπ φ▌╙▐ ╤╠┌ ▀φµπ µß╧╩σ ├πσ ) ╤µ╟σ ╟ß╚╬╟╤φ ╚╤▐π 15210 .
  51.     </font></b></p>
  52.     <p> </p>
  53. </blockquote>
  54.  
  55. </td>
  56.                         </tr>
  57.  
  58. <tr><td>
  59.     <p align="center"><font size="7" face="Arabic Typesetting">╥φ╟╤╟╩ ╟ßπµ▐┌ : [ <b>
  60. <?php
  61.     $servername = "localhost";
  62.     $username = "root";
  63.     $password = "";
  64.     // Create connection
  65.     $conn = mysql_connect($servername, $username, $password);
  66.     // Check connection
  67.     if ($conn->connect_error) {   die("Connection failed: " . $conn->connect_error); }
  68.  
  69.     mysql_select_db("ai", $conn);
  70.         $query = "SELECT * FROM visit";
  71.     $result = mysql_query($query, $conn) or die () ;   //(mysql_error() )
  72.     $views = mysql_result($result, 0, "count") + 1 ;
  73.     $sql = "UPDATE visit SET count='$views'";
  74.         $result = mysql_query($sql, $conn) or die () ;
  75.         mysql_close($conn);
  76.         echo $views ;
  77.  
  78. ?>
  79.  ] ╥φ╟╤╔<p align="center"> </td></tr>
  80. <tr><td>
  81.     <p align="center"><b><font size="6" face="Arabic Typesetting">πΣ ▀╩╟╚ ├╒µß ╟ß╧φΣ ╟ß┼╙ß╟πφ ßß╘φ╬ π═π╧ ╚Σ ╟╚╤╟σφπ ╟ß╩µφ╠╤φ</font></b></td></tr>
  82. </table></div>
  83.  <p> </p>
  84. <p><b><font size="6" face="Arabic Typesetting">
  85. <br><Br><br>
  86. </font></b></p>
  87. </body>
  88. </html>
  89.  
  90.  
  91. </body>
  92. </html>
  93.