A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
4.4 KiB

13 years ago
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2. <html>
  3. <head>
  4. <title>Qcodo Development Framework - Code Generator</title>
  5. <style type="text/css">@import url("<?php _p(__VIRTUAL_DIRECTORY__ . __CSS_ASSETS__); ?>/styles.css");</style>
  6. <style>
  7. body { font-family: 'Arial' 'Helvetica' 'sans-serif'; font-size: 14px; margin: 0px; background-color: white;}
  8. a:link, a:visited { text-decoration: none; }
  9. a:hover { text-decoration: underline; }
  10. .page { padding: 10px; }
  11. .headingLeft {
  12. background-color: #446644;
  13. color: #ffffff;
  14. padding: 10px 0px 10px 10px;
  15. font-family: 'Verdana' 'Arial' 'Helvetica' 'sans-serif';
  16. font-size: 18px;
  17. font-weight: bold;
  18. width: 70%;
  19. vertical-align: bottom;
  20. }
  21. .headingLeftSmall { font-size: 10px; }
  22. .headingRight {
  23. background-color: #446644;
  24. color: #ffffff;
  25. padding: 0px 10px 10px 10px;
  26. font-family: 'Verdana' 'Arial' 'Helvetica' 'sans-serif';
  27. font-size: 10px;
  28. width: 30%;
  29. vertical-align: bottom;
  30. text-align: right;
  31. }
  32. .title { font-family: 'Verdana' 'Arial' 'Helvetica' 'sans-serif'; font-size: 19px; font-style: italic; color: #330055; }
  33. .code { background-color: #f4eeff; padding: 10px 10px 10px 10px; margin-left: 50px; font-size: 11px; font-family: 'Lucida Console' 'Courier New' 'Courier' 'monospaced';}
  34. .code_title { font-family: 'Verdana' 'Arial' 'Helvetica' 'sans-serif'; font-size: 12px; font-weight: bold; }
  35. </style>
  36. </head>
  37. <body>
  38. <table border="0" cellspacing="0" width="100%">
  39. <tr>
  40. <td nowrap="nowrap" class="headingLeft"><span class="headingLeftSmall">Qcodo Development Framework <?php _p(QCODO_VERSION); ?><br /></span>Code Generator</div></td>
  41. <td nowrap="nowrap" class="headingRight">
  42. <b>PHP Version:</b> <?php _p(PHP_VERSION); ?>;&nbsp;&nbsp;<b>Zend Engine Version:</b> <?php _p(zend_version()); ?>;&nbsp;&nbsp;<b>Qcodo Version:</b> <?php _p(QCODO_VERSION); ?><br />
  43. <?php if (array_key_exists('OS', $_SERVER)) printf('<b>Operating System:</b> %s;&nbsp;&nbsp;', $_SERVER['OS']); ?><b>Application:</b> <?php _p($_SERVER['SERVER_SOFTWARE']); ?>;&nbsp;&nbsp;<b>Server Name:</b> <?php _p($_SERVER['SERVER_NAME']); ?><br />
  44. <b>Code Generated:</b> <?php _p(date('l, F j Y, g:i:s A')); ?>
  45. </td>
  46. </tr>
  47. </table>
  48. <p><?php $this->RenderBegin();?></p>
  49. <p><?php $this->pnlSettings->Render(); ?></p>
  50. <p><?php $this->btnRun->Render(); ?></p>
  51. <?php if(is_array(QCodeGen::$CodeGenArray)) { ?>
  52. <div class="page">
  53. <?php if ($strErrors = QCodeGen::$RootErrors) { ?>
  54. <p><b>The following root errors were reported:</b></p>
  55. <div class="code"><?php $this->DisplayMonospacedText($strErrors); ?></div>
  56. <p></p>
  57. <?php } else { ?>
  58. <p><b>CodeGen Settings (as evaluated from <?php _p(QCodeGen::$SettingsFilePath); ?>):</b></p>
  59. <div class="code"><?php $this->DisplayMonospacedText(QCodeGen::GetSettingsXml()); ?></div>
  60. <p></p>
  61. <?php } ?>
  62. <?php if(is_array(QCodeGen::$CodeGenArray)) foreach (QCodeGen::$CodeGenArray as $objCodeGen) { ?>
  63. <p><b><?php _p($objCodeGen->GetTitle()); ?></b></p>
  64. <div class="code"><span class="code_title"><?php _p($objCodeGen->GetReportLabel()); ?></span><br/><br/>
  65. <?php $this->DisplayMonospacedText($objCodeGen->GenerateAll()); ?>
  66. <?php if ($strErrors = $objCodeGen->Errors) { ?>
  67. <p class="code_title">The following errors were reported:</p>
  68. <?php $this->DisplayMonospacedText($objCodeGen->Errors); ?>
  69. <?php } ?>
  70. </div><p></p>
  71. <?php } ?>
  72. <?php foreach (QCodeGen::GenerateAggregate() as $strMessage) { ?>
  73. <p><b><?php _p($strMessage); ?></b></p>
  74. <?php } ?>
  75. </div>
  76. <?php } ?>
  77. <?php $this->RenderEnd(); ?>
  78. </body></html>