예제 #1
0
    echo $number . " New Request";
} else {
    echo "No New Request";
}
?>
</p> 
                        <?php 
$result = checkNewFriendRequest();
while ($profile = mysqli_fetch_assoc($result)) {
    ?>
                            <div class="row">
                                <div class="seeprofile">
                                    <div class="head">
                                        <div class="photo">
                                            <img src="<?php 
    echo getProfilePhoto($profile['profile_id']);
    ?>
">
                                        </div>
                                        <div class="seeprofilecontent">
                                            <a><?php 
    echo getUserName($profile['profile_id']);
    ?>
</a>
                                        </div>
                                        <div>
                                            <a href="?AddId=<?php 
    echo $profile['profile_id'];
    ?>
">Resoponse</a>
                                            <a href="?IgnoreId=<?php 
예제 #2
0
                <h3 class="text-center">Post by <?php 
echo getUserName($Id);
?>
</h3>
                <br>
                <!-- posts -->
                <?php 
$result = getPostofID($Id);
while ($status = mysqli_fetch_assoc($result)) {
    ?>
                    <div class="row">
                        <div class="userpost">
                            <div class="head">
                                <div class="photo">
                                    <img src="<?php 
    echo getProfilePhoto($status['Profile_Id']);
    ?>
">
                                </div>
                                <div class="content">
                                    <a><?php 
    echo getUserName($status['Profile_Id']);
    ?>
</a>
                                    <p><?php 
    echo date("h:i:s | d M, Y", strtotime($status['Date']));
    ?>
</p>
                                </div>
                            </div>
                            <div class="sbody">
예제 #3
0

        <section>
            <div class="mainbox">
                <div class="row">
                    <div class="col-lg-12">
                        <?php 
$result = getAllMessegeFromFriends();
while ($profile = mysqli_fetch_assoc($result)) {
    ?>
                            <div class="row">
                                <div class="seeprofile">
                                    <div class="head">
                                        <div class="photo">
                                            <img src="<?php 
    echo getProfilePhoto($profile['ID']);
    ?>
" >
                                        </div>
                                        <div class="seeprofilecontent">
                                            <a href="Profile.php?id=<?php 
    echo $profile['ID'];
    ?>
"><?php 
    echo getUserName($profile['ID']);
    ?>
</a>
                                          
                                        </div>
                                        <div>
                                            <a href="SendMessege.php?MessageToId=<?php 
예제 #4
0
        </script>

        <link href='http://fonts.googleapis.com/css?family=Lato:300' rel='stylesheet' type='text/css'>
    </head>
    <body>
        <header>
            <?php 
include 'include/menu.php';
?>
        </header>
        <section>
            <div class="mainbox">
                <div class="row">
                    <div class="col-lg-4 profilemainphoto">
                        <img style="" class="img-thumbnail" src="<?php 
echo getProfilePhoto($_SESSION['ID']);
?>
" />
                        <br>
                        <btn class="btn btn-default changePhoto">Change Photo</btn>
                        <div class="well changephotodiv">
                            <form method="post" enctype="multipart/form-data">
                                <input type="file" name="fileToUpload" id="fileToUpload"><br>
                                <input type="submit" value="Upload Image" name="photoSubmit">
                            </form>

                        </div>
                    </div>
                    <div class="col-lg-8">
                        <h2>
                            <?php 
예제 #5
0
        <section>
            <div class="mainbox">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="well"><p>All Profiles</p></div>
                        
                        <?php 
$result = getAllProfiles();
while ($profile = mysqli_fetch_assoc($result)) {
    ?>
                            <div class="box row">
                                <div class="seeprofile">
                                    <div class="head">
                                        <div class="photo">
                                            <img src="<?php 
    echo getProfilePhoto($profile['Profile_Id']);
    ?>
">
                                        </div>
                                        <div class="seeprofilecontent">
                                            <a href="Profile.php?id=<?php 
    echo $profile['Profile_Id'];
    ?>
"><?php 
    echo getUserName($profile['Profile_Id']);
    ?>
</a>
                                        </div>
                                        <div>
                                            <a href="?AddId=<?php 
    echo $profile['Profile_Id'];