topical media & game development
[]
readme
course(s)
preface
I
1
2
II
3
4
III
5
6
7
IV
8
9
10
V
11
12
afterthought(s)
appendix
reference(s)
example(s)
resource(s)
_
portal-xml-getmooicontent.php
<?php
print(' <!DOCTYPE html PUBLIC "-
//W3C//DTD XHTML 1.0 Transitional//EN"
"http:
//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http:
//www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta
http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>
MMC Content Printer
</title>
<link
href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h
1>XML MMC RSS Parser Output Content
</h
1> '); mysql_connect("tornado","mwg400","48458749") or die ("Kan niet connecten.");
tabellen = mysql_list_tables( "mwg400-dbs"); mysql_select_db("mwg400-dbs") or die ("Verdorie, kan de database niet openen"); if(
_GET['content_id']){
content_row = vindContent(
_GET['content_id']); printContent(
content_row); } function printContent(
content_row){ echo "
<div
style='float: right;'>
<iframe
src='getcontent.php?content_id=".
content_row['content_id']."'>
</iframe>
</div>
";
content_row['keywordString'] = implode(", ",
content_row['content_keywordArray']);
content_row['categoryString'] = implode(", ",
content_row['content_categoryArray']); echo "
<fieldset>
<legend>
".
content_row['content_id'].". ".
content_row['content_title']."
</legend>
"; echo "
<i>
<a
target='_blank' href='".
content_row['content_sourceurl']."'>".
content_row['content_source_name']."
</a>
, ".
content_row['content_date']."
</i>
<br
/>
<br
/>"; echo
content_row['content_binary']."
<br
/>"; echo "
<h
3>Afgeleide variabelen:
</h
3>"; echo "Categories: ".
content_row['categoryString']."
<br
/>"; echo "Keywords: ".
content_row['keywordString']."
<br
/>";
next_row = vindContent(
content_row['content_id']+1); echo "Next: