1 (edited by HitMan 2006-02-25 06:50)

Topic: Мод избирательного показа баннера

??? ????????? ?????????? ??? ????????? ???? (??? ?????? ???????) ????????????. ?.?. ????? ???????????? ?????? ??? ??????? ????????????? ? ?? ???????????? ???????????????, ??????????? ??? ????????? ????????????? ? ????????? id.

? footer.php
?????? ???:

<?php
// End the transaction
$db->end_transaction();

?? ???:

<?php
if ($pun_user['g_id'] != PUN_ADMIN && $pun_user['id'] != 1 && $pun_user['id'] != 2 && $pun_user['id'] != 3 && $pun_user['id'] != 4 && $pun_user['id'] != 5 && $pun_user['id'] != 6 && $pun_user['id'] != 7) {
?>  

<div id="brdfooter" class="block">
    <h2><span><?php echo $lang_common['Board footer'] ?></span></h2>
    <div class="box">
        <div class="inbox">

<center>
????? ??? ????????? ???? ??? ?????? ??????
</center>

            <div class="clearer"></div>
        </div>
    </div>
</div>


<?
}
?>
<?php
// End the transaction
$db->end_transaction();

??? ???? ??????? ?????? ?? ??????????????? ?????? ? ????????????? ? id: 1, 2, 3, 4, 5, 6, 7.
?????? ???? ???????? ????? ?????? ??????????? ?????.

ERROR - MIRROR

Re: Мод избирательного показа баннера

?????! ? ????? ????? ?? ??????? ????????? main.tpl? ????? ?? ???????? ? ????

Re: Мод избирательного показа баннера

??? ?????? ???? ???? .php
???? ??????? ? ???? ? ????? .htaccess ?? ???????????, ????? ????? ????? ??????????? ??? php-?????.

ERROR - MIRROR