summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/ind-0-error.php
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-03-07 09:04:49 +0100
committerGravatar Tom Willemsen2011-03-07 09:04:49 +0100
commit94d2fc1815a919734353c942f224db1de4b4fcb8 (patch)
tree4168e816ead132bfa3510e272427837c3895f5e2 /emacs.d/nxhtml/tests/in/ind-0-error.php
parentd0e7674fdb1de12c8de202d4028a5d7ed3669a6e (diff)
downloaddotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.tar.gz
dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.zip
Django, org
* Added nxhtml, mostly for django support. * Changed some org settings.
Diffstat (limited to 'emacs.d/nxhtml/tests/in/ind-0-error.php')
-rw-r--r--emacs.d/nxhtml/tests/in/ind-0-error.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/ind-0-error.php b/emacs.d/nxhtml/tests/in/ind-0-error.php
new file mode 100644
index 0000000..6bbdb24
--- /dev/null
+++ b/emacs.d/nxhtml/tests/in/ind-0-error.php
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <title>Lab 2 - Layout Control - Task 2 - XHTML/CSS version</title>
+ </head>
+ <body>
+ <?php
+ // comment
+ $thepage = $_GET['page'];
+
+ if (empty($thepage)) {
+ require('main-div-a.html');
+ }
+ else {
+ if ($thepage != 'a' && $thepage != 'b') {
+ print('You hacker you!');
+ }
+ else {
+ require('main-div-'.$thepage.'.html');
+ }
+ for (;;) {
+ }
+ }
+ ?>
+ </body>
+</html>