home *** CD-ROM | disk | FTP | other *** search
/ PCNet 2006 April / PCnet 2006-06.4.iso / shareware / nmsetup.exe / WebServer / web / _public_error_states.php < prev    next >
Encoding:
PHP Script  |  2006-05-01  |  3.7 KB  |  76 lines

  1. <?php
  2. ////////////////////////////////////////////////////////////////////////////////
  3. // <!--Copyright (c) 2005 Pure Networks Inc.  All rights reserved.-->
  4. ////////////////////////////////////////////////////////////////////////////////
  5. //
  6. // Build: 3.0.6121.0 (Stable)
  7. // $Revision: #1 $
  8. //
  9. // we have the public error warnings here:
  10. ?>
  11. <script type="text/javascript" language="JavaScript">
  12. writeWATestCookie();
  13. cookiesEnabled=(document.cookie.indexOf("WA")!=-1)? true : false;
  14. if (!cookiesEnabled)
  15. {
  16.     document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"WhiteTable PublicError\">");
  17.         document.write ("<tr><td id=\"Top\"><img src=\"/images/pixel.trans.gif\" width=\"1\" height=\"1\" alt=\"\"/></td></tr>");
  18.         document.write ("<tr>");
  19.             document.write ("<td id=\"Mid\">");
  20.                 document.write ("<div class=\"EmptyContianerImage\">");
  21.                     document.write ("<div class=\"EmptyContianerText\">");
  22.                     document.write ("<?php echo return_error_text(123, "", $arErrors); ?>");
  23.                     document.write ("</div>");
  24.                     document.write ("<div class=\"EmptyContianerExplain\">");
  25.                     document.write ("<?php echo return_error_text(120, "", $arErrors); ?>");
  26.                     document.write ("  ");
  27.                     document.write ("<a href=\"javascript:openHelpWindow(\'/help/troubleshooting#cookiesrequired\');\" title=\"Learn more...\">Learn more...</a>");
  28.                     document.write ("</div>");
  29.                 document.write ("</div>");
  30.             document.write ("</td>");
  31.         document.write ("</tr>");
  32.         document.write ("<tr><td id=\"Bot\"><img src=\"/images/pixel.trans.gif\" width=\"1\" height=\"1\" alt=\"\"/></td></tr>");
  33.     document.write ("</table>");
  34. }
  35. </script>
  36. <noscript>
  37.     <table cellpadding="0" cellspacing="0" border="0" class="WhiteTable PublicError">
  38.         <tr><td id="Top"><img src="/images/pixel.trans.gif" width="1" height="1" alt=""></td></tr>
  39.         <tr>
  40.             <td id="Mid">
  41.                 <div class="EmptyContianerImage">
  42.                     <div class="EmptyContianerText">
  43.                     <?php echo return_error_text(124, "", $arErrors); ?>
  44.                     </div>
  45.                     <div class="EmptyContianerExplain">
  46.                     <?php echo return_error_text(121, "", $arErrors); ?>
  47.                       
  48.                     <a target="_new" href="/help/troubleshooting#jscriptrequired" title="Learn more...">Learn more...</a>
  49.                     </div>
  50.                 </div>
  51.             </td>
  52.         </tr>
  53.         <tr><td id="Bot"><img src="/images/pixel.trans.gif" width="1" height="1" alt=""></td></tr>
  54.     </table>
  55. </noscript>
  56. <?php
  57. if ($btBrowserType  ==   "macosxie")
  58. {
  59.     echo ("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"WhiteTable PublicError\">");
  60.         echo ("<tr><td id=\"Top\"><img src=\"/images/pixel.trans.gif\" width=\"1\" height=\"1\" alt=\"\"/></td></tr>");
  61.         echo ("<tr>");
  62.             echo ("<td id=\"Mid\">");
  63.                 echo ("<div class=\"EmptyContianerImage\">");
  64.                     echo ("<div class=\"EmptyContianerText\">");
  65.                     echo (return_error_text(122, "", $arErrors));
  66.                     echo ("</div>");
  67.                     echo ("<div class=\"EmptyContianerExplain\">");
  68.                     echo (return_error_text(119, "", $arErrors));
  69.                     echo ("</div>");
  70.                 echo ("</div>");
  71.             echo ("</td>");
  72.         echo ("</tr>");
  73.         echo ("<tr><td id=\"Bot\"><img src=\"/images/pixel.trans.gif\" width=\"1\" height=\"1\" alt=\"\"/></td></tr>");
  74.     echo ("</table>");
  75. }
  76. ?>