Advertisement
| 10.13.2008 at 06:04PM PDT, ID: 23811417 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: |
<?php
// the facebook client library
include_once '../php/facebook.php';
// some basic library functions
include_once 'lib.php';
// this defines some of your basic setup
include_once 'config.php';
$facebook = new Facebook($api_key, $secret);
$facebook->require_frame();
$user = $facebook->require_login();
if (isset($_POST['to'])) {
$prints_id = (int)$_POST['to'];
$prints = do_step($user, $prints_id);
} else {
if (isset($_GET['to'])) {
$prints_id = (int)$_GET['to'];
} else {
$prints_id = $user;
}
$prints = get_prints($prints_id);
}
?>
<div style="padding: 10px;">
<h2>Hi <fb:name firstnameonly="true" uid="<?=$user?>" useyou="false"/> !</h2><br/>
<a href="<?= $facebook->get_add_url() ?>">Put Footprints in your profile</a>, if you haven't already!
<form method="post" >
<?php
if ($prints_id != $user) {
echo 'Do you want to step on <fb:name uid="' . $prints_id . '"/>?';
echo '<input type="hidden" name="to" value="' . $prints_id . '"/>';
} else {
echo '<br/>Step on a friend:';
echo '<fb:friend-selector idname="to"/>';
}
?>
<input value="step" type="submit"/>
</form>
<hr/>
These are <fb:name uid="<?= $prints_id ?>" possessive="true"/> Footprints:<br/>
<?php echo render_prints($prints, 10); ?>
<div style="clear: both;"/>
</div>
|
Advertisement