making nickpages work and more
This commit is contained in:
parent
3a7f36261d
commit
b46c7941db
8 changed files with 360 additions and 329 deletions
|
@ -16,7 +16,7 @@
|
|||
<div class="entry-content">
|
||||
<p>{$n.text}</p>
|
||||
</div>
|
||||
<p><small><a href="/forum/thread-{$n.pid}.html">{$n.comments} Kommentar(e)</a></small></p>
|
||||
<p><small><a href="/forum/thread-{$n.tid}.html">{$n.comments} Kommentar(e)</a></small></p>
|
||||
</article> <!-- end entry -->
|
||||
{foreachelse}
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
|
|
|
@ -54,7 +54,7 @@ class nickpage extends module{
|
|||
|
||||
$user['sitetitle']='Nickpage von '.$user['username'];
|
||||
|
||||
$result=$db->query("SELECT * FROM `" . $this->mybb_conf["prefix"] . "users` WHERE `uid`='".$user['fuid']."' LIMIT 1");
|
||||
$result=$db->query("SELECT * FROM `" . $this->mybb_conf['prefix'] . "users` WHERE `uid`='".$user['fuid']."' LIMIT 1");
|
||||
$forum=$db->fetch_array($result);
|
||||
$db->free_result($result);
|
||||
|
||||
|
@ -62,7 +62,7 @@ class nickpage extends module{
|
|||
$chat=$db->fetch_array($result);
|
||||
$db->free_result($result);
|
||||
|
||||
$result=$db->query("SELECT count(`id`) as `count` FROM `" . $config["prefix"] . "npguestbook` WHERE `guid`='".$user['uid']."'");
|
||||
$result=$db->query("SELECT count(`id`) as `count` FROM `" . $config['prefix'] . "npguestbook` WHERE `guid`='".$user['uid']."'");
|
||||
$gb_count=$db->fetch_array($result);
|
||||
$gb_pages=ceil($gb_count['count']/$count);
|
||||
$db->free_result($result);
|
||||
|
@ -132,7 +132,7 @@ class nickpage extends module{
|
|||
//$data=get_user_room($user['username']);
|
||||
if($data){
|
||||
$user['room']=$data['r'];
|
||||
$user['roomlock']='<img src="'.$path.'/themes/recensio/images/'.$data['s'].'.png" alt="'.$data['s'].'" />';
|
||||
$user['roomlock']='<img src="'.$path.'/themes/austria/images/'.$data['s'].'.png" alt="'.$data['s'].'" />';
|
||||
}
|
||||
//$forum['buddylist'];
|
||||
if($session->userdata['uid']!=""){
|
||||
|
@ -174,7 +174,6 @@ class nickpage extends module{
|
|||
$db->free_result($result);
|
||||
}
|
||||
}
|
||||
$tpl->assign('loggedin',$session->);
|
||||
$tpl->assign('friends',$friendl);
|
||||
$tpl->assign('user',$user);
|
||||
$tpl->assign('forum',$forum);
|
||||
|
|
|
@ -1,39 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<!--[if lt IE 8 ]><html class="no-js ie ie7" lang="en"> <![endif]-->
|
||||
<!--[if IE 8 ]><html class="no-js ie ie8" lang="en"> <![endif]-->
|
||||
<!--[if IE 9 ]><html class="no-js ie ie9" lang="en"> <![endif]-->
|
||||
<!--[if (gte IE 8)|!(IE)]><!--><html class="no-js" lang="de"> <!--<![endif]-->
|
||||
<head>
|
||||
|
||||
<!--- Basic Page Needs
|
||||
================================================== -->
|
||||
<meta charset="utf-8">
|
||||
<title>{$user.sitetitle} - AustriaChat.net - Die Österreichische Chatcommunity</title>
|
||||
<meta name="description" content="" />
|
||||
<meta content="AustriaChat.net - Die Österreichische Chatcommunity" property="og:title" />
|
||||
<meta name="keywords" content="oe3 ö3 chat sms.at uboot.com chatcommunity webchat austria oesterreich forum" />
|
||||
<meta name="author" content="AustriaChat.net" />
|
||||
<meta name="description" content="Die kostenlose und werbefreie ?sterreichische Chatcommunity. Endlich wieder Chatten wie im Uboot, sms.at, Orf Chat, usw. Wir sehen uns!" />
|
||||
<link href="https://austriachat.net/chat" rel="Chat"/>
|
||||
<link href="https://austriachat.net/forum" rel="Forum"/>
|
||||
<!-- mobile specific metas
|
||||
================================================== -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
||||
|
||||
<!-- CSS
|
||||
================================================== -->
|
||||
<link rel="stylesheet" href="{$themepath}/css/default.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/layout.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/media-queries.css" />
|
||||
|
||||
<!-- Script
|
||||
================================================== -->
|
||||
<script src="js/modernizr.js"></script>
|
||||
|
||||
<!-- Favicons
|
||||
================================================== -->
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
|
||||
<title>{$user.sitetitle} - FunCh.at - Die Österreichische Chatcommunity</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -55,8 +21,8 @@
|
|||
<h3>Über mich:</h3>
|
||||
<p>Alter: {$user.age}<br />
|
||||
<ul>
|
||||
<li><a href="//{$domain}/forum/private.php?action=send&uid={$user.fuid}">PN an {$user.username}</a></li>
|
||||
<li>Forenposts: <a href="//{$domain}/forum/search.php?action=finduser&uid={$user.fuid}">{$forum.postnum}</a></li>
|
||||
<li><a href="//{$domain}/forum/private.php?action=send&uid={$user.fuid}">PN an {$user.username}</a></li>
|
||||
<li>Forenposts: <a href="//{$domain}/forum/search.php?action=finduser&uid={$user.fuid}">{$forum.postnum}</a></li>
|
||||
<li>{if $user.chatright!=""}{$user.username} ist ein <strong>{$user.chatright}</strong></li>{/if}
|
||||
{if $user.room!=""}{$user.username} befindet sich im Raum {$user.room}{$user.roomlock}</li>{/if}
|
||||
<li>Chatzeit: {$user.chattime}</li>
|
||||
|
@ -122,20 +88,9 @@
|
|||
|
||||
<div class="twelve columns">
|
||||
Für den Inhalt ist ausschließlich der User selbst verantwortlich.<br />
|
||||
Diese Nickpage ist Teil der <a href="//www.austriachat.net" target="_blank">AustriaChat.net Community</a>.
|
||||
Diese Nickpage ist Teil der <a href="//www.funch.at" target="_blank">FunCh.at Community</a>.
|
||||
</div>
|
||||
</div>
|
||||
<div id="go-top"><a class="smoothscroll" title="Back to Top" href="#top"><i class="fa fa-chevron-up"></i></a></div>
|
||||
|
||||
</footer> <!-- End Footer-->
|
||||
|
||||
|
||||
<!-- Java Script
|
||||
================================================== -->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
||||
<script>window.jQuery || document.write('<script src="js/jquery-1.10.2.min.js"><\/script>')</script>
|
||||
<script type="text/javascript" src="js/jquery-migrate-1.2.1.min.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,106 +1,55 @@
|
|||
{literal}
|
||||
<script language="javascript" type="text/javascript">
|
||||
$(function() {
|
||||
$( "#shelf" ).accessNews({
|
||||
headline : "Medienregal von {/literal}{$user.username}{literal}",
|
||||
speed : "slow",
|
||||
slideBy : 3
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
{/literal}
|
||||
<div id="container">
|
||||
<div id="header"><h1><span style="display: none;">{$user.sitetitle}</span></h1></div>
|
||||
<div id="gender"><img src="/npimages/{$user.gender}.png" /></div>
|
||||
<div class="dropnav">
|
||||
</div>
|
||||
<div id="wrapper">
|
||||
<div id="content">
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="de">
|
||||
<head>
|
||||
<!--- Basic Page Needs
|
||||
================================================== -->
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<span class="image"><img src="{$path}np_images/{$user.np_picture}" alt="So will {$user.username} gesehen werden" /></span>
|
||||
<span class="details"><p><strong>Chat:</strong></p>{if $user.chatright!=""}{$user.username} ist ein <strong>{$user.chatright}</strong><br /><br />{/if}{if $user.room!=""}{$user.username} befindet sich im Raum {$user.room}{$user.roomlock}<br /><br />{/if}Chatzeit: <br />{$user.chattime}<br /></span>
|
||||
{if $friends!=""}
|
||||
<div class="friends">
|
||||
<h4>Freunde:</h4>
|
||||
{$friends}
|
||||
</div>
|
||||
{/if}
|
||||
<div style="clear:both;">
|
||||
Alter:
|
||||
<p>{$user.age}</p>
|
||||
Über mich:
|
||||
<div class="text">
|
||||
<p>{$user.text}</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
{if $shelf!=""}
|
||||
<div class="accessible_news_slider business_as_usual" id="shelf">
|
||||
<p class="javascript_css">
|
||||
<strong>Achtung:</strong> Du scheinst Javascript und/oder CSS abgeschaltet zu haben. Das Medienregal wird funktionieren, aber optimale Leistung wird nur mit aktiviertem Javascript und CSS erreicht.
|
||||
</p>
|
||||
<p class="skip_to_news"><a href="#skip_to_news">Skip to News</a></p>
|
||||
<p class="back"><a href="#" title="Zurück">« Zurück</a></p>
|
||||
<p class="next"><a href="#" title="Weiter">Weiter »</a></p>
|
||||
<a name="skip_to_news"></a>
|
||||
<ul>
|
||||
{foreach from=$shelf item=s}
|
||||
<li>
|
||||
<a href="{$s.link}"><img src="{$s.img}" width="75" height="105" alt="{$s.title}" /></a>
|
||||
<p>
|
||||
<a href="{$s.link}">{$s.title}</a><br />
|
||||
{$s.short}
|
||||
</p>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
{if $gb!=""}
|
||||
<div style="margin:5px; width:695px; text-align:center;" id="pagination">
|
||||
{$pagination}
|
||||
</div>
|
||||
{foreach from=$gb item=g}
|
||||
<div style="border: 1px solid #DFE8F7;" class='np-column1-unit'>
|
||||
<a href="http://{$g.username}.recensio.org/">{$g.username}</a> schrieb am {$g.date}:
|
||||
<p>{if $deltext==1}
|
||||
<span style="float:right" style="font-size:xx-small;"><a href="/gb/del/{$guestbook.id}">[Eintrag löschen]</a>
|
||||
</span>
|
||||
{/if}
|
||||
{$g.text}<br /></p>
|
||||
</div>
|
||||
<br />
|
||||
{/foreach}
|
||||
<div style="margin:5px; width:695px; text-align:center;" id="pagination">
|
||||
{$pagination}
|
||||
</div>
|
||||
{else}
|
||||
<p>Keine Einträge. Schreib doch einfach einen. ;-)</p><br />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div id="navigation">
|
||||
<p><strong>Menü</strong></p>
|
||||
<ul>
|
||||
<li><a href="http://forum.recensio.org/private.php?action=send&uid={$user.fuid}">PN an {$user.username}</a></li>
|
||||
<li><a href="http://forum.recensio.orgmember.php?action=emailuser&uid={$user.fuid}">E-Mail schreiben</a></li>
|
||||
<li>Forenposts: <a href="http://forum.recensio.org/search.php?action=finduser&uid={$user.fuid}">{$forum.postnum}</a></li>
|
||||
<li>Reviews: <a href="http://search.recensio.org/websearch/{$user.username}">{$user.reviewnum}</a></li>
|
||||
{if $user.friendlink!=""}<li>{$user.friendlink}</li>{/if}
|
||||
</ul>
|
||||
</div>
|
||||
{if $user.favourits!=''}
|
||||
<div id="links">
|
||||
<p><strong>Meine Links</strong></p>
|
||||
<ul>
|
||||
{$user.favourits}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
<div id="footer">
|
||||
<p>Für den Inhalt ist ausschließlich der User selbst verantwortlich.<br />
|
||||
Diese Nickpage ist Teil der <a href="http://www.recensio.org" target="_blank">recensio.org Community</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<meta name="description" content="" />
|
||||
<meta
|
||||
content="FunCh.at - Die Österreichische Chatcommunity"
|
||||
property="og:title"
|
||||
/>
|
||||
<meta
|
||||
name="keywords"
|
||||
content="oe3 ö3 chat sms.at uboot.com chatcommunity webchat austria oesterreich forum"
|
||||
/>
|
||||
<meta name="author" content="FunCh.at" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Die kostenlose und werbefreie Österreichische Chatcommunity. Endlich wieder Chatten wie im Uboot, sms.at, Orf Chat, usw. Wir sehen uns!"
|
||||
/>
|
||||
<link href="https://funch.at/chat" rel="Chat" />
|
||||
<link href="https://funch.at/forum" rel="Forum" />
|
||||
<!-- mobile specific metas
|
||||
================================================== -->
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1"
|
||||
/>
|
||||
|
||||
<!-- CSS
|
||||
================================================== -->
|
||||
<link rel="stylesheet" href="{$themepath}/css/default.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/layout.css" />
|
||||
<link rel="stylesheet" href="{$themepath}/css/media-queries.css" />
|
||||
|
||||
<!-- Script
|
||||
================================================== -->
|
||||
<script src="{$themepath}/js/modernizr.js"></script>
|
||||
<script defer src="{$themepath}/js/fontawesome/all.min.js"></script>
|
||||
|
||||
<!-- Favicons
|
||||
================================================== -->
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
{$content}
|
||||
|
||||
<!-- Java Script
|
||||
================================================== -->
|
||||
<script src="{$themepath}/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="{$themepath}/js/main.js"></script>
|
||||
<script src="/js/odo/odometer.min.js"></script>
|
||||
{$footer}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue