Location: PHPKode > scripts > WH Social > wh_social/modules/index.inc.php
<?php

    echo '<div class="content_left">
    <div id="breadcrumb">
        <ul class="crumbs">
            <li class="first"><a href="index.php" style="z-index:9;"><span></span>' . $lang['index'] . '</a></li>
        </ul>
    </div>
    </div>

    <div class="content_right">';
        
        include('modules/search.inc.php');
    echo '</div>

    <div class="clear_long"></div>';

    $ret = 1;

    echo '<div class="main_menu">';
    
        $ret = include 'framework/templates/'.$main_content['menu'];
    echo '<div id="line"></div>';
    
        $ret = include 'framework/templates/'.$main_content['infos'];
    echo '</div>';

    echo '<div class="main_content">';

    echo '<h1 class="p_space">' . $lang['welcome'] . ' ' . htmlentities($_SESSION['name'], ENT_QUOTES) . '</h1>';

    echo '<div class="spacer"></div>';

    echo '<div class="left"><p class="blue_hml">' . $lang['find_new_friends'] . '</p>
    <ul id="suggestion">';

    $sql = "SELECT id, name, avatar FROM members ORDER BY rand()";

    $result = mysql_query($sql) OR die(mysql_error());

    while($row = mysql_fetch_assoc($result)) {

        $sugg_id = (int)$row['id'];
        $sugg_name = htmlentities($row['name'], ENT_QUOTES);
        $sugg_avatar = htmlentities($row['avatar']);

        echo '<li id="list' . $sugg_id . '">
        <img src="' . $sugg_avatar . '" border="0" alt="Avatar">
        <span class="del"><a href="#" class="delete" id="' . $sugg_id . '">X</a></span>
        <a href="member.php?id=' . $sugg_id . '" class="user-title">' . $sugg_name . '</a>
        <span class="addas"><a href="friends.php" class="addfriend">' . $lang['add_as_friend'] . '</a></span>
        </li>';
        }

    echo '</ul>
    </div>';

    mysql_free_result($result);

    echo '<div class="birthday_right"><p class="blue_hml">' . $lang['today_birthdays'] . '</p>';
        include_once('modules/birthday.inc.php');
    echo '</div>';

    echo '<div class="latest_right"><p class="blue_hml">' . $lang['all_new_topics'] . '</p>';
        include_once('modules/topics.inc.php');
    echo '</div>';

    echo '<div class="spacer"></div>';

    echo '<p class="blue_hml">' . $lang['all_new_discs'] . '</p>';
        include_once('modules/latest.inc.php');

    echo '<div class="clear_long"></div>';

    echo '<p class="blue_hml">' . $lang['show_cloud_tags'] . '</p>';
        include_once('modules/cloud.inc.php');
        include_once('framework/functions/cloud.php');

    echo '<div class="cloudtags">';
        echo cloud($tags, $cssfields, $target);
    echo '</div>';

?>
Return current item: WH Social