View Single Post
ישן 05-10-06, 18:35   # 18
Elad-A
הוסטסניון
 
מיני פרופיל
תאריך הצטרפות: May 2006
הודעות: 1,987

Elad-A לא מחובר  

בדקתי וזה עובד מעולה. (עם return)

PHP קוד:

<?

class skin
{
    function 
offsystem($why) {
        global 
$lang;
        return <<<EOF

        <table width=75% class=border><th>
{$lang['systemoff']}</th>
        <tr><td>
{$why}</td></tr></table>

EOF;
    }

    function 
viewcats($id,$name,$content) {
        global 
$lang;
        return <<<EOF

        <table width=100% class=border><th><a href=viewnews.php?id=
{$id}>{$name}</a></th>
        <tr><td height=75 valign=top>
{$content}</td></tr></table><br>

EOF;
    }

    function 
num($num) {
        global 
$lang;
        return <<<EOF

        <table width=50%><th>
{$lang['thereare']} {$num} {$lang['categories']}</th></table>

EOF;
    }
}
?>
  Reply With Quote