summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/xml-as-string.php
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2011-03-23 11:14:27 +0100
committerGravatar Tom Willemsen2011-03-23 11:14:27 +0100
commit0d342f0aee3f2f800e486c0051dabe718a7b2841 (patch)
tree1f55afabb8f4876dbe564f7ed5d8e573ddc78df3 /emacs.d/nxhtml/tests/in/xml-as-string.php
parentd4510153b17625a3dd2f1852cc6392fc26efecf6 (diff)
downloaddotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.tar.gz
dotfiles-0d342f0aee3f2f800e486c0051dabe718a7b2841.zip
I don't like nxhtml
Diffstat (limited to 'emacs.d/nxhtml/tests/in/xml-as-string.php')
-rw-r--r--emacs.d/nxhtml/tests/in/xml-as-string.php54
1 files changed, 0 insertions, 54 deletions
diff --git a/emacs.d/nxhtml/tests/in/xml-as-string.php b/emacs.d/nxhtml/tests/in/xml-as-string.php
deleted file mode 100644
index e779a5c..0000000
--- a/emacs.d/nxhtml/tests/in/xml-as-string.php
+++ /dev/null
@@ -1,54 +0,0 @@
-<?php header("Content-type:application/xml; charset=utf-8"); echo '<'; echo '?xml version="1.0" encoding="utf-8"?'; echo '>'; ?>
-<!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>
- <link rel="stylesheet" type="text/css" href="stylesheet.css" />
- </head>
- <body>
- <div id="container">
- <div id="header">Top area</div>
- <div id="left-menu">
- <ul>
- <li><a href="index.php">Home</a></li>
- <li><a href="index.php?page=a">First Main Page</a></li>
- <li><a href="index.php?page=b">Second Main Page</a></li>
- </ul>
- </div>
- <!--
- <?
- ?>
- -->
- <div id="main">
- <?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 (;;) {
- }
- }
- ?>
- </div>
- <div id="right-menu">Right area</div>
- <div id="footer">
- <p>
- <a href="http://validator.w3.org/check?uri=referer">
- <img src="valid-xhtml10.png" alt="Valid XHTML 1.0 Strict"></img>
- </a>
- <a href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww-und.ida.liu.se%2F%7Emikas493%2Ftask-2%2Fxhtml-css%2Fstylesheet.css">
- <img src="vcss.png" alt="Valid CSS!"></img>
- </a>
- </p>
- </div>
- </div>