topical media & game development
professional-sql-10-public-files-admin.php / php
<?php
include '../lib/common.php';
include '../lib/db.php';
include '401.php';
// generate extra elements for HTML head section
ob_start();
?>
<script type="text/javascript" src="js/yui/yahoo-dom-event/yahoo-dom-event.js">
</script>
<script type="text/javascript" src="js/yui/calendar/calendar-min.js"></script>
<script type="text/javascript" src="js/tinymce/tiny_mce.js"></script>
<script type="text/javascript" src="js/helper.js"></script>
<script type="text/javascript" src="js/blog_admin.js"></script>
<script type="text/javascript">
tinyMCE.init({mode : "textareas", theme : "simple", width : "450" });
</script>
<link rel="stylesheet" type="text/css" href="css/calendar.css" />
<style type="text/css">
#calendar {
display: none;
position: absolute;
z-index: 1;
}
</style>
<?php
query = sprintf('SELECT POST_ID, POST_TITLE, UNIX_TIMESTAMP(POST_DATE) ' .
'AS POST_DATE FROM \%sBLOG_POST ORDER BY POST_DATE DESC, POST_TITLE ASC',
DB_TBL_PREFIX);
query, record = mysql_fetch_assoc(record['POST_ID'] . '">';
echo '(' . date('m/d/Y', record['POST_TITLE'];
echo '</option>';
}
mysql_free_result(GLOBALS['TEMPLATE']['content'] = ob_get_clean();
include '../templates/template-page.php';
mysql_close(
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.