remove datatable unit tests
[contractdashboard.git] / cutenews / example1.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head><title>Example1</title></head>
<body>
 
<a href="?go=news">news</a> ||
<a href="?go=headlines">headlines</a> ||
<a href="?go=archives">arhcives</a> ||
<a href="?go=search">search</a> ||
<a style="font-size:120%" href="example2.php">See Advanced Example >></a>
 
<hr>
 
 
<?PHP
error_reporting (E_ALL ^ E_NOTICE);
 
if($_GET['go'] == "" or $_GET['go'] == "news"){
   include("show_news.php");
}
elseif($_GET['go'] == "headlines"){
   $template = "Headlines";
   include("show_news.php");
}
elseif($_GET['go'] == "archives"){
   include("show_archives.php");
}
elseif($_GET['go'] == "search"){
   include("search.php");
}
?>
 
 
 
</body>
</html>