Login   Register  
PHP Classes
elePHPant
Icontem

File: asmvc/myapp/views/index_view.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alex B. Snet  >  ASf MVC  >  asmvc/myapp/views/index_view.php  >  Download  
File: asmvc/myapp/views/index_view.php
Role: Example script
Content type: text/plain
Description: The sample view
Class: ASf MVC
MVC implementation framework
Author: By
Last change:
Date: 5 years ago
Size: 1,624 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html>
    <head>
        <title><?=$TITLE ?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
        <style type="text/css">
            body {
              background:#9dbde1 url(http://alexsnet.ru/labs/asfmvc/img/bg-gradient.gif) top repeat-x;
                color:                            #666666;
                font-family:                arial, sans;
                font-size:                    100%;
                line-height:                1.7em;
                margin:                            0 auto;
                text-align:         center;
                width:              500px;
            }

            h1 {
                font-size:                     2.18em;
                letter-spacing:            -0.01em;
            }            
            
            a:link {
                color:                            #134c8c;
            }

            a:visited {
                color:                            #666666;
            }

      .code {
        text-align:         left;
          margin:             0 0 1.5em 0;
          font-size:          1.0em;
          border:             1px solid #134c8c;
          background-color:   #cae3ff;
          color:              #c44242;
          padding:            .2em 1em .4em;
      }
            
            #bottom {
                border-top:                    1px solid #134c8c;
                margin-top:                    1em;
                padding-top:                1em;
                font-size:          0.8em;
            }
        </style>
    </head>
    <body>
      <h1><?=$TITLE ?></h1>
        
        <p>Core version is <?=ASMVC_VERSION ?>.</p>
        <p>PHP version is <?=php_version() ?>.</p>
        
        <p>Page VIEW:</p>
        <div class="code"><?=$View ?></div>
        
        <p>Page CONTROLLER:</p>
        <div class="code"><?=$Controller ?></div>
        
        <div id="bottom    ">
            <a href="http://alexsnet.ru/">Alex Snet</a> made this small core.
        </div>
    </body>
</html>