if(! function_exists('home_content')) {
function home_content(&$a) {
-
- $a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://mistpark.com\" name=\"Mistpark\" >Mistpark</a></div>";
+ $a->page['header'] .= '<div id="logo">mistpark</div>';
+ $a->page['footer'] .= "<div class=\"powered\" >Powered by <a href=\"http://mistpark.com\" name=\"mistpark\" >mistpark</a></div>";
$o .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>';
$o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
return $o;
+++ /dev/null
-<?php
-
-
-function mail_post(&$a) {
-
- // handles mail created by me, or mail posted to my profile page.
- // If remote we must have a DFRN-url.
-
- if((x($_POST,'dfrn_url')) && (strlen($_POST['dfrn_url']))) {
- // get post params
- $remote = true;
-
- // check blacklist
-
-
- // scrape url
-
-
-
- // sanitise
-
- // store
-
-
- // notify
-
-
- }
-
- if(local_user()) {
-
-
- // get data
-
-
- // sanitise
-
-
- // store
-
-
- // notify
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-}
-
-
-function mail_content(&$a) {
-
- // remot mail
-
-
- // list mail
-
-
-
-
-
- // read message
-
-
-
-
- // reply
-
-
-
-
- // new mail
-
-
-
-}
\ No newline at end of file
xml_status(0);
$r = q("SELECT COUNT(*) AS `total` FROM `item`
- WHERE `unseen` = 1 AND `uid` = %d",
+ WHERE `unseen` = 1 AND `visible` = 1 AND `deleted` = 0 AND `uid` = %d",
intval($_SESSION['uid'])
);
$network = $r[0]['total'];
$r = q("SELECT COUNT(*) AS `total` FROM `item`
- WHERE `unseen` = 1 AND `uid` = %d AND `type` != 'remote' ",
+ WHERE `unseen` = 1 AND `visible` = 1 AND `deleted` = 0 AND `uid` = %d AND `type` != 'remote' ",
intval($_SESSION['uid'])
);
$home = $r[0]['total'];
$str_image = $ph->imageString();
$smallest = 0;
- $r = q("INSERT INTO `photo` ( `uid`, `resource-id`, `created`, `edited`, `filename`,
+ $r = q("INSERT INTO `photo` ( `uid`, `resource-id`, `created`, `edited`, `filename`, `album`,
`height`, `width`, `data`, `scale` )
VALUES ( %d, '%s', '%s', '%s', '%s', %d, %d, '%s', 0 )",
intval($_SESSION['uid']),
datetime_convert(),
datetime_convert(),
dbesc(basename($filename)),
+ dbesc( t('Wall Photos')),
intval($height),
intval($width),
dbesc($str_image));
a, a:visited {
- color: #4444FF;
+ color: #8888FF;
text-decoration: none;
}
background: #FFFFFF;
}
+#logo {
+ font-size: 300%;
+ color: #A8A8A8;
+ font-weight: bold;
+ margin-left: 280px;
+}
+
aside {
position: absolute;
left: 0px;
border: 1px solid #FF8888;
background-color: #FFEEEE;
padding: 10px;
+ -moz-box-shadow: 5px 5px 5px #888888;
+ -webkit-box-shadow: 5px 5px 5px #888888;
+ box-shadow: 5px 5px 5px #888888;
+ -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#888888')";
+ filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#888888');
+
+
}
.nav-link {
float: right;