Esempio n. 1
0
                                        $ud = get_user_data($comment["author"]);
                                        if ($ud["id"] == "!GUEST!") {
                                            echo "Автор: " . $ud["nick"];
                                        } else {
                                            echo "Автор: " . $comment["author"];
                                        }
                                    }
                                    ?>
                      </td><td>
                      <?php 
                                    echo "Дата: " . norm_date($comment["time"]);
                                    ?>
                      </td></tr>
                      <tr><td>
                      <?php 
                                    echo "E-mail: " . make_email_str($comment["email"]);
                                    ?>
                      </td><td>
                       <?php 
                                    echo "URL: " . make_url_str($comment["url"]);
                                    ?>
                       </td></tr>
                       <tr>
                       <td colspan=2 class=tbl1> <?php 
                                    echo $comment["text"];
                                    ?>
 </td>
                       </tr>
                       </table>
                       <br>
                       <?php 
Esempio n. 2
0
                           <tr>
                           <td colspan=2 width=90% ><B>Ответы:</B>
                               <table width=90% align=center> 
                                  
                                 <?php 
                            for ($answ_idx = 0; $answ_idx < count($answers); ++$answ_idx) {
                                $ans = $guest->get_answer_mess($mess["id"]);
                                ?>
                                 
                                    <tr>
                                    <td align=center width=50% class=tbl1>
                                          <?php 
                                $ud = get_user_data($ans[$answ_idx]["name"]);
                                OUT("<a href=?p=users&act=userinfo&id=" . $ans[$answ_idx]["name"] . ">" . $ud["nick"] . "</a>");
                                if ($ans[$answ_idx]["email"]) {
                                    echo ", " . make_email_str($ans[$answ_idx]["email"]);
                                }
                                ?>
 <?php 
                                if ($ans[$answ_idx]["url"]) {
                                    echo ", " . make_url_str($ans[$answ_idx]["url"]);
                                }
                                ?>
 
                                          <?php 
                                echo ", " . norm_date($ans[$answ_idx]["time"]);
                                ?>
 
                                    </td>
                                    </tr>
                                    <tr>
Esempio n. 3
0
                    OUT(make_raiting_str($data["raiting"]));
                    ?>
                      </td></tr>                    
                      </table>
                    </td><td width=70%>
                      <table  width=100%>
                        <tr><td width=50%>
                        Login:
                        </td><td width=50%><?php 
                    OUT($data["user"]);
                    ?>
</td></tr>                      
                        <tr><td width=50%>
                        E-mail:
                        </td><td width=50%><?php 
                    OUT(make_email_str($data["email"]));
                    ?>
</td></tr>
                        <tr><td width=50%>
                        Траффик:
                        </td><td width=50%><?php 
                    OUT(bytes2mb($adata["traffic"]) . " Mb");
                    ?>
</td></tr>
                        <tr><td width=50%>                    
                        Время:
                        </td><td width=50%><?php 
                    OUT(gethours($adata["time"]) . ":" . getmins($adata["time"]) . ":" . getsecs($adata["time"]));
                    ?>
</td></tr>                        
                      </table>
Esempio n. 4
0
      <br>Страница: <?php 
                                OUT($pagescode);
                                ?>
<br>  
      <?php 
                                for ($i = 0; $i < count($clist); ++$i) {
                                    $data = $clist[$i];
                                    $uid = $data["nick"];
                                    if (is_user_exists($uid)) {
                                        $udata = get_user_data($uid);
                                        $nick = "<a href=?p=users&act=userinfo&id=" . $udata["id"] . ">" . $udata["nick"] . "</a>";
                                        $email = make_email_str($udata["email"]);
                                        $url = make_url_str($udata["url"]);
                                    } else {
                                        $nick = $data["nick"];
                                        $email = make_email_str($data["email"]);
                                        $url = make_url_str($data["url"]);
                                    }
                                    ?>
       <table width=100%>
       <tr><td class=tbl1 width=100%>
       <?php 
                                    OUT($nick);
                                    ?>
, <?php 
                                    OUT(norm_date($data["date"]));
                                    ?>
, <?php 
                                    OUT($email);
                                    ?>
, <?php