Commit 855b6534 authored by dmorley's avatar dmorley

fix my errors

parent b2a6a7f1
......@@ -153,10 +153,11 @@ $active_users_halfyear = isset($jsonssl->active_users_halfyear)?$jsonssl->active
$active_users_monthly = isset($jsonssl->active_users_monthly)?$jsonssl->active_users_monthly:0;
$local_posts = isset($jsonssl->local_posts)?$jsonssl->local_posts:0;
$comment_counts = isset($jsonssl->local_comments)?$jsonssl->local_comments:0;
$service_facebook = isset($jsonssl->facebook)?$jsonssl->facebook:false;
$service_twitter = isset($jsonssl->twitter)?$jsonssl->twitter:false;
$service_tumblr = isset($jsonssl->tumblr)?$jsonssl->tumblr:false;
$service_wordpress = isset($jsonssl->wordpress)?$jsonssl->wordpress:false;
$service_facebook = !empty($jsonssl->facebook)?$jsonssl->facebook:'false';
$service_twitter = !empty($jsonssl->twitter)?$jsonssl->twitter:'false';
$service_tumblr = !empty($jsonssl->tumblr)?$jsonssl->tumblr:'false';
$service_wordpress = !empty($jsonssl->wordpress)?$jsonssl->wordpress:'false';
echo $service_wordpress . "fdfsdf";
} elseif (stristr($output, 'registrations_open')) {
"not";$secure="false";
//$hidden="no";
......@@ -186,10 +187,10 @@ $active_users_halfyear = isset($jsonssl->active_users_halfyear)?$jsonssl->active
$active_users_monthly = isset($jsonssl->active_users_monthly)?$jsonssl->active_users_monthly:0;
$local_posts = isset($jsonssl->local_posts)?$jsonssl->local_posts:0;
$comment_counts = isset($jsonssl->local_comments)?$jsonssl->local_comments:0;
$service_facebook = isset($jsonssl->facebook)?$jsonssl->facebook:false;
$service_twitter = isset($jsonssl->twitter)?$jsonssl->twitter:false;
$service_tumblr = isset($jsonssl->tumblr)?$jsonssl->tumblr:false;
$service_wordpress = isset($jsonssl->wordpress)?$jsonssl->wordpress:false;
$service_facebook = !empty($jsonssl->facebook)?$jsonssl->facebook:'false';
$service_twitter = !empty($jsonssl->twitter)?$jsonssl->twitter:'false';
$service_tumblr = !empty($jsonssl->tumblr)?$jsonssl->tumblr:'false';
$service_wordpress = !empty($jsonssl->wordpress)?$jsonssl->wordpress:'false';
} else {
$secure="false";
$score = $score - 1;
......
......@@ -90,10 +90,10 @@ echo "✪";
echo "</div></a></td>";
echo "<td class='tipsy' title='".$row["whois"]." '>" . $row["country"] . "</td>\n";
echo "<td class='' title=''>";
if ($row["service_facebook"] == true) {echo "<div id='facebook' class='smlogo'></div>";}
if ($row["service_twitter"] == true) {echo "<div id='twitter' class='smlogo'></div>";}
if ($row["service_tumblr"] == true) {echo "<div id='tumblr' class='smlogo'></div>";}
if ($row["service_wordpress"] == true) {echo "<div id='wordpress' class='smlogo'></div>";}
if ($row["service_facebook"] == "t") {echo "<div id='facebook' class='smlogo'></div>";}
if ($row["service_twitter"] == "t") {echo "<div id='twitter' class='smlogo'></div>";}
if ($row["service_tumblr"] == "t") {echo "<div id='tumblr' class='smlogo'></div>";}
if ($row["service_wordpress"] == "t") {echo "<div id='wordpress' class='smlogo'></div>";}
echo "</td></tr>\n";
}
pg_free_result($result);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment