예제 #1
0
파일: api.php 프로젝트: gopi158/Sample
     $journal_id = $_POST['journal_id'];
     addTrackerInfo($tracker_userid, $tracked_userid, $tracked_tileid, $notification_action, $tile_id, $finao_id, $journal_id);
     break;
 case "IamTrackings":
     $tracker_userid = $_POST['tracker_userid'];
     $finao_id = $_POST['finao_id'];
     IamTrackings($tracker_userid, $finao_id);
     break;
 case "followers":
     $id = mysql_real_escape_string($_POST['id']);
     if ($id != null) {
         $user_id = $id;
     } else {
         $user_id = $authuserid;
     }
     followers($user_id);
     break;
 case "followings":
     $id = mysql_real_escape_string($_POST['id']);
     if ($id != null) {
         $user_id = $id;
     } else {
         $user_id = $authuserid;
     }
     followings($user_id);
     break;
 case "MyTrackings":
     $tracker_userid = $_POST['tracker_userid'];
     $finao_id = $_POST['finao_id'];
     MyTrackings($tracker_userid, $finao_id);
     break;
예제 #2
0
    echo $loginphp_est4;
    ?>
</b></td>
		</tr>
		
		<tr>
		<td><?php 
    total_udates($row["id_usr"]);
    ?>
</td>
		<td><?php 
    total_replies($row["id_usr"]);
    ?>
</td>
		<td><?php 
    followers($row["id_usr"]);
    ?>
</td>
		<td><?php 
    echo count(explode(",", $row["follow"])) - 1;
    ?>
</td>
		</tr>
		
		</table>
		</small>
		
		<a href="#" style="float: right;" onmouseover="toggleBlock('sidebar_hide');return false;toggleBlock('sidebar_hide');return false;">↓↑</a>
		
		<div id="sidebar_hide">
	<?php 
예제 #3
0
<?php

include 'include.php';
isAllowed();
$id = $_SESSION['profil']['id'];
$pages = followersPages($id);
if ($pages > 0) {
    if (isset($_GET['page'])) {
        $content = followers($id, $_GET['page']);
    } else {
        $content = followers($id);
    }
    $content = $content->followers;
}
getHeader();
?>


<article>
	<!-- Contenu de la page -->
			<section id="liste">
				<br/><h2>Liste des abonn&eacute;</h2><br/>
				<ul id="listerelation">
					<?php 
if ($pages > 0) {
    ?>
						<?php 
    foreach ($content as $k => $v) {
        ?>
							<li>
								<a href="profil.php?id=<?php