Created
June 14, 2013 05:10
-
-
Save Veraticus/5779594 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!Doctype HTML> | |
<html> | |
<head> | |
<title>Google</title> | |
<link rel="stylesheet" type="text/css" href="stylesheet.css"> | |
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'> | |
</head> | |
<body> | |
<div id="logo"><img src="logo4w.png" height="95" width="275"/> | |
</div> | |
<form name="input" action="html_form_action.asp" method="get"> | |
<input type="text" name="search"> | |
<input type="submit" value="Submit"> | |
</form> | |
<div class="footer"> | |
<div id="search">Google Search | |
</div> | |
<div id="lucky">I'm feeling lucky | |
</div> | |
<div id="ads">Advertising Programs | |
</div> | |
<div id="business">Business Solutions | |
</div> | |
<div id="privacy">Privacy & Terms | |
</div> | |
<div id="google+">+Google | |
</div> | |
<div id="about">About Google | |
</div> | |
</div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* PHP ERRORS | |
* | |
* The php error reporting level. We want all significant errors to | |
* be shown, including E_STRICT. We exclude E_DEPRECATED through, | |
* because we need to use some deprecated functions to disable | |
* certain PHP features that are deprecated but still work (think | |
* magic_quotes). | |
*/ | |
if (defined('E_DEPRECATED')) | |
{ | |
error_reporting((E_ALL | E_STRICT) & ~E_DEPRECATED); | |
} | |
else | |
{ | |
error_reporting(E_ALL | E_STRICT); | |
} | |
/** | |
* CONSTANTS | |
* | |
* Mission-critical application and system constants are the first | |
* thing to set up. These constants include: | |
* | |
* ROOTPATH - The full server path to the root folder | |
* EXT - The file extension. Typically ".php" | |
* SYSPATH - The full server path to the "system" folder | |
* APPPATH - The full server path to the "application" folder | |
* VENPATH - The full server path to the "vendors" folder | |
*/ | |
define('ROOTPATH', dirname(__FILE__) . '/'); | |
define('EXT', '.php'); | |
define('SYSPATH', ROOTPATH . 'sys/'); | |
define('APPPATH', ROOTPATH . 'app/'); | |
define('VENPATH', ROOTPATH . 'vendors/'); | |
if (!defined('CONTROLLERS')) // May already be set by test.php | |
{ | |
define('CONTROLLERS', 'controllers/'); | |
} | |
if (defined('DEPLOY_CUSTOM_PATH')) | |
{ | |
define('CUSPATH', DEPLOY_CUSTOM_PATH); | |
} | |
else | |
{ | |
define('CUSPATH', ROOTPATH . 'custom/'); | |
} | |
if (defined('DEPLOY_EXPORT_PATH')) | |
{ | |
define('EXPPATH', DEPLOY_EXPORT_PATH); | |
} | |
else | |
{ | |
define('EXPPATH', ROOTPATH . 'exports/'); | |
} | |
if (!defined('DEPLOY_RESOURCE_URL')) | |
{ | |
define('DEPLOY_RESOURCE_URL', ''); | |
} | |
/** | |
* CORE HELPERS | |
* | |
* The next thing we do is to include some helpers that are required | |
* during the boot process (and elsewhere in the framework or app) | |
* or do some initializing work (setting up the PHP environment, for | |
* instance). | |
*/ | |
require_once(SYSPATH . 'boot/core.php'); | |
require_once(SYSPATH . 'boot/errors.php'); | |
require_once(SYSPATH . 'boot/str.php'); | |
require_once(SYSPATH . 'boot/env.php'); | |
require_once(SYSPATH . 'boot/os.php'); | |
require_once(SYSPATH . 'boot/support.php'); | |
/** | |
* APP-SPECIFIC | |
* | |
* If the application-specific file exists, we load it and the app | |
* can check its required dependencies, load and validate its config | |
* file and so on. | |
*/ | |
$application = APPPATH . 'boot/index.php'; | |
if (file_exists($application)) | |
{ | |
require_once $application; | |
} | |
/** | |
* GIZMO | |
* | |
* After initializing the framework and letting the application check | |
* its requirements, we load the actual Gizmo framework. | |
*/ | |
require_once(SYSPATH . 'core/gizmo.php'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!Doctype HTML> | |
<html> | |
<head> | |
<title>Google</title> | |
<link rel="stylesheet" type="text/css" href="stylesheet.css"> | |
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'> | |
</head> | |
<body> | |
<div id="blackmenu"> | |
+Justine | |
Search | |
Images | |
Maps | |
Play | |
YouTube | |
News | |
Gmail | |
Drive | |
Calendar | |
More | |
</div> | |
<div id="login"> | |
justine.lam@gmail.com | |
</div> | |
<div id="logo"><img src="logo4w.png" height="95" width="275"/> | |
</div> | |
<div id="searchForm"> | |
<div class="row"> | |
<form name="input" action="html_form_action.asp" method="get"> | |
<input type="text" name="search"> | |
</form> | |
</div> | |
</div> | |
<div id="underSearch"> | |
<div class="row"> | |
<div id="search"><input type="submit" class="google" value="Google Search"> | |
</div> | |
<div id="lucky"><input type="submit" class="lucky" value="I'm Feeling Lucky"> | |
</div> | |
</div> | |
<div id="text"> | |
<div class="row">Heard about The Internship? <a href="http://www.google.com/students">Meet the real Google interns.</a></div> | |
</div> | |
</div> | |
<div id="footer"> | |
<div class="row"> | |
<div id="ads">Advertising Programs | |
</div> | |
<div id="business">Business Solutions | |
</div> | |
<div id="privacy">Privacy & Terms | |
</div> | |
<div id="google+">+Google | |
</div> | |
<div id="about">About Google | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment