Skip to content

Commit

Permalink
Framework Web Files
Browse files Browse the repository at this point in the history
  • Loading branch information
Idealcoder committed Aug 4, 2013
1 parent 220dc30 commit 9043c7a
Show file tree
Hide file tree
Showing 20 changed files with 1,591 additions and 0 deletions.
547 changes: 547 additions & 0 deletions .htaccess

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions crossdomain.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->

<!-- Most restrictive policy: -->
<site-control permitted-cross-domain-policies="none"/>

<!-- Least restrictive policy: -->
<!--
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
-->
</cross-domain-policy>
9 changes: 9 additions & 0 deletions error/400.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
$pagetitle="Error 400";
include("$root/scripts/header.php");
?>
<p>Error 400 - Bad Request</p>
<?php
include("$root/scripts/footer.php");
?>
9 changes: 9 additions & 0 deletions error/401.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
$pagetitle="Error 401";
include("$root/scripts/header.php");
?>
<p>Error 401 - Unauthorized</p>
<?php
include("$root/scripts/footer.php");
?>
9 changes: 9 additions & 0 deletions error/403.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
$pagetitle="Error 403";
include("$root/scripts/header.php");
?>
<p>Error 403 - Forbidden</p>
<?php
include("$root/scripts/footer.php");
?>
9 changes: 9 additions & 0 deletions error/404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
$pagetitle="Error 404";
include("$root/scripts/header.php");
?>
<p>Error 404 - File Does Not Exist</p>
<?php
include("$root/scripts/footer.php");
?>
9 changes: 9 additions & 0 deletions error/500.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
$pagetitle="Error 500";
include("$root/scripts/header.php");
?>
<p>Error 500 - Internal Server Error</p>
<?php
include("$root/scripts/footer.php");
?>
20 changes: 20 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
$pagetitle="Home";
include("$root/scripts/header.php");
?>
<section>
<p>Welcome to IdealFrame Work, a fork of <a href="http://html5boilerplate.com/">HTML5 Boiler Plate</a>. It also has a client-based version of <a href="http://lesscss.org/">LESS</a>, a dynamic css language. Just a couple of basics to start you off.</p>

<ul>
<li>Change the project title in /scripts/header.php line 9</li>
<li>At the top of each page in php set the var <b>$pagetitle</b>, for the title of that page</li>
<li>Restyle the css, the stuff here is just a guideline</li>
<li>The error folder contains errors, you will want to edit</li>
</ul>

<section>

<?php
include("$root/scripts/footer.php");
?>
3 changes: 3 additions & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# robotstxt.org/

User-agent: *
1 change: 1 addition & 0 deletions scripts/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deny from all
9 changes: 9 additions & 0 deletions scripts/footer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Javascript At End -->
<script src="/static/js/vendor/less-1.3.3.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="/static/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="/static/js/plugins.js"></script>
<script src="/static/js/main.js"></script>
</body>
</html>
31 changes: 31 additions & 0 deletions scripts/header.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-GB" xml:lang="en-GB"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title><?php echo $pagetitle; ?> | Project Title</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">

<link rel="stylesheet" href="/static/css/normalize.css">
<link rel="stylesheet" href="/static/css/main.css">
<link rel="stylesheet/less" type="text/css" href="/static/css/style.less">
<script src="/static/js/vendor/modernizr-2.6.2.min.js"></script>

<script>
document.createElement("article");
document.createElement("footer");
document.createElement("header");
document.createElement("hgroup");
document.createElement("nav");
</script>
</head>
<body>
<!--[if lt IE 7]>
<p>Outdated Browser Message Goes Here</p>
<![endif]-->

<!-- Main Content -->
Loading

0 comments on commit 9043c7a

Please sign in to comment.