|
| |
1 |
|
<?php |
|
| |
2 |
|
|
|
| |
3 |
|
|
|
| |
4 |
|
|
|
| |
5 |
|
|
|
| |
6 |
|
|
|
| |
7 |
|
|
|
| |
8 |
|
|
|
| |
9 |
|
|
|
| |
10 |
|
|
|
| |
11 |
|
|
|
| |
12 |
|
|
|
| |
13 |
|
|
|
| |
14 |
|
|
|
| |
15 |
|
global $rootURL, $imagesURL, $adminURL,$admin; |
|
| |
16 |
|
|
|
| |
17 |
|
if(!$pathtoroot) die('error: no base path defined'); |
|
| |
18 |
|
|
|
| |
19 |
|
|
|
| |
20 |
|
|
|
| |
21 |
|
$localURL=$rootURL."in-news/"; |
|
| |
22 |
|
|
|
| |
23 |
|
|
|
| |
24 |
|
|
|
| |
25 |
|
|
|
| |
26 |
|
$pathtolocal = $pathtoroot."in-news/"; |
|
| |
27 |
|
|
|
| |
28 |
|
require_once ($pathtolocal."admin/include/navmenu.php"); |
|
| |
29 |
|
|
|
| |
30 |
|
|
|
| |
31 |
|
|
|
| |
32 |
|
$envar = "env=" . BuildEnv($mod_prefixes); |
|
| |
33 |
|
|
|
| |
34 |
|
|
|
| |
35 |
|
$section = 'in-news:reviews'; |
|
| |
36 |
|
|
|
| |
37 |
|
if( $objSession->HasCatPermission("NEWS.VIEW") ) |
|
| |
38 |
|
{ |
|
| |
39 |
|
?> |
|
| |
40 |
|
|
|
| |
41 |
|
<div id="news_reviews" class="ini_tab" isTab="true" tabTitle="News" PrefixSpecial="rev.articles" ActionPrefix="m_review_direct_" EditURL="admin/addreview_direct"> |
|
| |
42 |
|
|
|
| |
43 |
|
<table cellSpacing=0 cellPadding=2 width="100%" class="tabTable"> |
|
| |
44 |
|
<tbody> |
|
| |
45 |
|
<tr> |
|
| |
46 |
|
<td align="left" width="70%"> |
|
| |
47 |
|
<img height=15 src="<?php echo $imagesURL; ?>/arrow.gif" width=15 align=absMiddle border=0> |
|
| |
48 |
|
<b class=text><?php echo prompt_language("la_Page"); ?></b> <?php print $objArticleReviewList->GetAdminPageLinkList($_SERVER["PHP_SELF"]); ?> |
|
| |
49 |
|
</td> |
|
| |
50 |
|
<td align="right" width="30%"> |
|
| |
51 |
|
<?php ShowSearchForm('n', $envar, 'news_reviews','_review_direct_search'); ?> |
|
| |
52 |
|
</td> |
|
| |
53 |
|
</tr> |
|
| |
54 |
|
</tbody> |
|
| |
55 |
|
</table> |
|
| |
56 |
|
<br> |
|
| |
57 |
|
<form name=news_reviews_form action="" method=post> |
|
| |
58 |
|
<input type="hidden" name="Action"> |
|
| |
59 |
|
<table cellSpacing=0 cellPadding=2 width="100%" border=0> |
|
| |
60 |
|
<tbody> |
|
| |
61 |
|
<?php |
|
| |
62 |
|
|
|
| |
63 |
|
print $objArticleReviewList->AdminPrintItems($pathtolocal."admin/templates/news_review_element.tpl"); |
|
| |
64 |
|
?> |
|
| |
65 |
|
</tbody> |
|
| |
66 |
|
</table> |
|
| |
67 |
|
</form> |
|
| |
68 |
|
</div> |
|
| |
69 |
|
|
|
| |
70 |
|
<?php |
|
| |
71 |
|
} |
|
| |
72 |
|
?> |