Просмотр файла admin/preview.php

Размер файла: 1.98Kb
<?php

/*********************************************************************
 *
 * WapSite powered by CsC Portal. WapSite[tm] is module of CsC Portal.
 *
 * (C) 2004. CsC Portal. All rights reserved.
 *
 * http://cscp.cs-centar.net | http://www.cs-centar.net
 *
 ********************************************************************/

// File: admin/preview.php
// Desc: Use to preview selected page
// Written on: 22.04.2004

include("../wap_db.php");
include("ad_functions.php");

if ($_GET['substr'] == "news" && $_GET['page'] == $page) {

echo "<html><head><title>{ CsC Portal WapSite $lang_display[admin_title] }{ $lang_display_ed[preview] }</title>
<LINK REL=\"StyleSheet\" HREF=\"style.css\" TYPE=\"text/css\">
</head>
<body bgcolor=\"dcdcdc\">
<table align=\"center\" width=\"95%\" class=\"table_info\"><tr><td>
<center><b>$lang_display_ed[preview]: $page</b></center>
</td></tr></table>";

display_preview_news($page);

echo "</body></html>";

exit;

}

if ($_GET['substr'] == "files" && $_GET['file'] == $file && $_GET['file_id'] == $file_id) {

echo "<html><head><title>{ CsC Portal WapSite $lang_display[admin_title] }{ $lang_display_ed[preview] }</title>
<LINK REL=\"StyleSheet\" HREF=\"style.css\" TYPE=\"text/css\">
</head>
<body bgcolor=\"dcdcdc\">
<table align=\"center\" width=\"95%\" class=\"table_info\"><tr><td>
<center><b>$land_display_files[file]: $file</b></center>
</td></tr></table>";

display_preview_files($file);

echo "</body></html>";

exit;

}

if ($_GET['substr'] == "edit_delete" && $_GET['page'] == $page) {

echo "<html><head><title>{ CsC Portal WapSite $lang_display[admin_title] }{ $lang_display_ed[preview] }</title>
<LINK REL=\"StyleSheet\" HREF=\"style.css\" TYPE=\"text/css\">
</head>
<body bgcolor=\"dcdcdc\">
<table align=\"center\" width=\"95%\" class=\"table_info\"><tr><td>
<center><b>$lang_display_ed[preview]: $page</b></center>
</td></tr></table>";

display_preview($page);

echo "</body></html>";

}

?>