Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[r77]: web / trunk / include / template.inc.php Maximize Restore History

Download this file

template.inc.php    157 lines (147 with data), 8.5 kB

  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
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?php
// this src is written under the terms of the GPL-licence, see gpl.txt for futher details
function template_header()
{
$latest_version = get_latest_version();
echo <<<EOT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>DOSBox, an x86 emulator with DOS</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link rel="icon" type="image/x-icon" href="site_images/favicon.ico"/>
<link rel="shortcut icon" type="image/x-icon" href="site_images/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="test.css"/>
<link rel="stylesheet" type="text/css" href="dosbox.css"/>
<!--[if IE]><link rel="stylesheet" type="text/css" href="IE.css"/><![endif]-->
</head>
<body>
<h1 id="logo">DOSBox</h1>
<ul id="menu">
<li><a href="news.php?show_news=1">News</a></li>
<li><a href="crew.php">Crew</a></li>
<li><a href="information.php?page=0">Information</a></li>
<li><a href="status.php?show_status=1">Status</a></li>
<li><a href="wiki/">FAQ</a></li>
<li><a href="download.php?main=1">Downloads</a></li>
<li><a href="comp_list.php?letter=a">Compatibility</a></li>
<li><a href="http://vogons.zetafleet.com/index.php?c=7" target="_blank">Forum</a></li>
<li><a href="links.php">Links</a></li>
<li><a href="login.php">Login</a></li>
</ul>
<span class="indent top">Latest version:
<a class="bold" href="download.php?main=1">$latest_version</a>
</span>
EOT;
echo '<table class="main">
<tr>
<td valign="top"><br>
';
}
function template_end()
{
echo '
</td>
<td valign="top">
<br>
<br>
<div class="temp">
<center><a href="/wiki/Basic_Setup_and_Installation_of_DosBox">DOSBox tutorial</a></center>
</div>
<br>
<div class="temp">
<center><a href="/wiki/Dosbox_and_Vista">DOSBox and Vista</a></center>
</div>
<br>
<div class="gog">
<a href="http://www.gog.com/en/frontpage/pp/b3f0c7f6bb763af1be91d9e74eabfeb199dc1f1f" class="goglink">
DRM-free PC classics -
<span class="gog1">GOG</span><span class="gog2">.COM</span>
</a>
</div>
<br>
<script type="text/javascript"><!--
google_ad_client = "pub-0841681205384106";
//rechts
google_ad_slot = "5563129217";
google_ad_width = 120;
google_ad_height = 240;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
<table align="left" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width="14">
&nbsp;
</td>
<td valign="top">
<script type="text/javascript"><!--
google_ad_client = "pub-0841681205384106";
/* Regular pages 468x15, bottom */
google_ad_slot = "6666539821";
google_ad_width = 468;
google_ad_height = 15;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</br>&nbsp;</br>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but11.gif" border="0" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type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VQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDcxMjIyMTYxMTM2WjAjBgkqhkiG9w0BCQQxFgQUbIk7S7/mC6s3QC18bSUHCL+4Ri0wDQYJKoZIhvcNAQEBBQAEgYCbrsPhQ6hlcSAGJcmnh4iU3J7GXlMwX0W2e7/0s6mx3faY4DycOnJ9TtuKqsRRi8pWhMurrmSQzaugj+akvJxpcygETnzFth2Q5b+OaQCqSmPpcN/qRYWNlMbnGstw55ZyuXmv9T8LzXIMj+OfvAL27qscGBlscLbMDXvgGjQgww==-----END PKCS7-----
">
&nbsp;&nbsp;&nbsp;<img src="site_images/compilations.jpg" alt="Compilations">&nbsp;&nbsp;&nbsp;
<a href="http://www.gog.com/en/frontpage/pp/b3f0c7f6bb763af1be91d9e74eabfeb199dc1f1f"><img src="gog.jpg" alt="DRM-free PC classics - GOG.com"></a>&nbsp;&nbsp;&nbsp;
<a target="_blank" href="http://t.extreme-dm.com/?login=harekiet">
<img name=im src="http://t1.extreme-dm.com/i.gif" height=38
border=0 width=41 alt=""></a><script language="javascript" type="text/javascript"><!--
an=navigator.appName;d=document;function
pr(){d.write("<img src=\"http://t0.extreme-dm.com",
"/0.gif?tag=harekiet&j=y&srw="+srw+"&srb="+srb+"&",
"rs="+r+"&l="+escape(parent.document.referrer)+"\" height=1 ",
"width=1>");}srb="na";srw="na";//-->
</script><script language="javascript1.2" type="text/javascript"><!--
s=screen;srw=s.width;an!="Netscape"?
srb=s.colorDepth:srb=s.pixelDepth;//-->
</script><script language="javascript" type="text/javascript"><!--
r=41;d.images?r=d.im.width:z=0;pr();//-->
</script><noscript><img height=1 width=1 alt=""
src="http://t0.extreme-dm.com/0.gif?tag=harekiet&amp;j=n"></noscript>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.sourceforge.net/projects/dosbox" target="_blank"><img src="http://sourceforge.net/sflogo.php?group_id=52551&amp;type=1" width="88" height="31" border="0" alt="SourceForge.net Logo"></a>
&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://sourceforge.net/donate/index.php?group_id=52551"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project"></a></form>
<span class="bold" style="margin-left: 1em; line-height: 2em;">Copyright </span>&copy; <span class="bold">2009 DOSBox</span>
</td>
</tr>
</table><br><br><br><br><br><br>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write("\<script src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'>\<\/script>" );
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3229677-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
</html>
';
}
function template_pagebox_start( $text, $width=640 )
{
$width -= 10; // compensate for 1px border and 4px padding on each side
echo <<<EOT
<div style="width: ${width}px;" class="caption">$text</div>
<div style="width: ${width}px;" class="content">
EOT;
}
function template_pagebox_end()
{
echo "</div>";
}
?>