More and more cnages to make the site functional
This commit is contained in:
parent
6c44a79a72
commit
16ef8fdf6c
17 changed files with 493 additions and 199 deletions
|
@ -20,6 +20,7 @@ RewriteRule ^avatar/(.*)? index.php?task=rp&sum=avatar&id=$1
|
|||
RewriteRule ^chat/reports/(.*)? index.php?task=chat&sub=report&uid=$1
|
||||
RewriteRule ^chat/in? index.php?task=chat&sub=in
|
||||
RewriteRule ^chat? index.php?task=chat
|
||||
RewriteRule ^t/(.*\.html?)$ index.php?task=text&url=$1 [L]
|
||||
RewriteRule create_char.html index.php?task=rp&sub=create
|
||||
RewriteRule chat.html index.php?task=chat
|
||||
RewriteRule my_chars.html index.php?task=rp&sub=chars [QSA,L]
|
||||
|
@ -27,6 +28,6 @@ RewriteRule canon_chars.html index.php?task=rp&sub=canons [QSA,L]
|
|||
RewriteRule logs.html index.php?task=chat&sub=logs [QSA,L]
|
||||
RewriteRule private.html index.php?task=chat&sub=privatelogs [QSA,L]
|
||||
RewriteRule ^guidelines.html$ /text/rules.html [R=301,L]
|
||||
RewriteRule ^/t/(.*\.html?)$ index.php?task=text&url=$1 [L]
|
||||
|
||||
|
||||
</IfModule>
|
||||
|
|
|
@ -75,23 +75,11 @@ function get_user_list() {
|
|||
}
|
||||
|
||||
function get_user_room($username) {
|
||||
global $config;
|
||||
/* Open URL to userlist
|
||||
if (!$fh = @fopen("http://localhost.localdomain:".$config['SOCK_PORT']."/info/?", "r"))
|
||||
return false;
|
||||
|
||||
// Read data and close
|
||||
while(!feof($fh))
|
||||
$content .= fread($fh, 1024);
|
||||
fclose($fh); */
|
||||
$content = $ccache->get('roomdata');
|
||||
global $config;
|
||||
$content = get_user_list();
|
||||
$content = trim($content);
|
||||
$content = explode("\n", $content);
|
||||
|
||||
// Create userlist array
|
||||
// Format of array:
|
||||
// $userlist[$room_name]['s'] = $room_state
|
||||
// $userlist[$room_name]['u'][$nick] = $color
|
||||
foreach($content as $line) {
|
||||
$data = explode("|", $line);
|
||||
list($nick, $color) = explode(",", $data[1]);
|
||||
|
|
35
modules/chat/templates/default/privatechatlogs.tpl.part
Normal file
35
modules/chat/templates/default/privatechatlogs.tpl.part
Normal file
|
@ -0,0 +1,35 @@
|
|||
<div id="maincol_top_invisible">
|
||||
</div>
|
||||
<div class="maincol_review_header">
|
||||
<h2><span>Private Chatlogs</span></h2><br />
|
||||
</div>
|
||||
<div class="maincol_box_empty">
|
||||
<div class="content_page">
|
||||
{if $convos==""}
|
||||
No private logs yet.
|
||||
{else}
|
||||
<table width="600px">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Date - Room</th>
|
||||
<th>Owner / Shared by</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
{foreach from=$convos item=con}
|
||||
<tr>
|
||||
<td width="10%">{$con.id}</td>
|
||||
<td><a href="http://logs.ponytopia.net/id/{$con.id}" target="_blank">{$con.date} - {$con.room}</a></td>
|
||||
<td><a href="http://forum.ponytopia.net/user-{$con.owner}.html" target="_blank">{$con.sname}</a></td>
|
||||
<td width="16%"><a href="http://logs.ponytopia.net/pdf/{$con.id}"><img src="/themes/ponytopia/images/icons/pdf.png" style="border:none;"/></a>
|
||||
<a onclick="return confirmLink(this, 'Are you sure to delete the Log? It will be gone for good.')" href="/index.php?task=chat&sub=deletelog&id={$con.id}"><img src="/themes/ponytopia/images/icons/delete.png" style="border:none;" /></a>{if $con.owner==$con.uid}<a href="/index.php?task=chat&sub=editlog&id={$con.id}"><img src="/themes/ponytopia/images/icons/wrench.png" style="border:none;"/></a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
</div>
|
||||
{if $pagination!=""}
|
||||
<div align="center">{$pagination}</div>
|
||||
{/if}
|
||||
</div>
|
File diff suppressed because one or more lines are too long
4
modules/nickpage/js/jquery.min.js
vendored
Normal file
4
modules/nickpage/js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -134,10 +134,10 @@ class nickpage extends module{
|
|||
$user['np_picture']='nopic.png';
|
||||
}
|
||||
$user['text']=$parser->parse($user['np_text']);
|
||||
//$data=get_user_room($user['username']);
|
||||
$data=get_user_room($user['username']);
|
||||
if($data){
|
||||
$user['room']=$data['r'];
|
||||
$user['roomlock']='<img src="'.$path.'/themes/austria/images/'.$data['s'].'.png" alt="'.$data['s'].'" />';
|
||||
$user['roomlock']='<img src="'.$path.'/themes/funchat/images/'.$data['s'].'.png" alt="'.$data['s'].'" />';
|
||||
}
|
||||
//$forum['buddylist'];
|
||||
if($session->userdata['uid']!=""){
|
||||
|
@ -180,7 +180,7 @@ class nickpage extends module{
|
|||
$db->free_result($result);
|
||||
}
|
||||
}
|
||||
|
||||
$this->tpl->assign("themepath",'/themes/'.$config['theme']);
|
||||
$this->tpl->assign('friends',$friendl);
|
||||
$this->tpl->assign('user',$user);
|
||||
$this->tpl->assign('forum',$forum);
|
||||
|
@ -188,9 +188,21 @@ class nickpage extends module{
|
|||
$this->tpl->assign('domain',$config['domain']);
|
||||
$this->tpl->assign('gb',$gb);
|
||||
$this->tpl->assign('pagination',$pagination);
|
||||
$content=$this->tpl->fetch('nickpage.tpl');
|
||||
$content=$this->tpl->fetch('nickpage_content.tpl');
|
||||
}
|
||||
$core->make_page($content,TRUE,$config['fullpath'].'/modules/nickpage/templates/default/nickpage_content.tpl',NULL,NULL);
|
||||
$themedir = $this->getTemplateDir();
|
||||
$core->make_page($content,TRUE,$themedir.'/nickpage.tpl',NULL,NULL);
|
||||
}
|
||||
|
||||
function getTemplateDir(){
|
||||
global $config;
|
||||
$root = $_SERVER['DOCUMENT_ROOT'] . $config['path'];
|
||||
if(isset($config['theme']) && $config['theme']!='' && is_dir($root . '/modules/nickpage/templates/'.$config['theme'])){
|
||||
$themedir = $root . '/modules/nickpage/templates/'.$config['theme'];
|
||||
}else{
|
||||
$themedir = $root . '/modules/nickpage/templates/default';
|
||||
}
|
||||
return $themedir;
|
||||
}
|
||||
|
||||
function output_edit(){
|
||||
|
|
|
@ -1,108 +1,66 @@
|
|||
<!doctype html>
|
||||
<html class="no-js" lang="de">
|
||||
<head>
|
||||
<!--- Basic Page Needs
|
||||
================================================== -->
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<title>{$user.sitetitle} - FunCh.at - Die Österreichische Chatcommunity</title>
|
||||
</head>
|
||||
<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"
|
||||
/>
|
||||
|
||||
<body>
|
||||
<header id="top">
|
||||
<div class="row">
|
||||
<div class="header-content twelve columns">
|
||||
<h1 id="logo-text">{$user.sitetitle}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</header> <!-- Header End -->
|
||||
<div id="content-wrap">
|
||||
<div class="row add-bottom">
|
||||
<div class="six columns add-bottom">
|
||||
<h3>Über {$user.username} <img src="images/{$user.gender}.png" style="float: right;"></h3>
|
||||
<p><img class="pull-left" src="/forum/{$user.np_picture}" alt="Ist das {$user.username}?">
|
||||
{$user.fid2}</p>
|
||||
</div>
|
||||
<div class="six columns add-bottom">
|
||||
<h3>Über mich:</h3>
|
||||
{if $user.birthdayprivacy != none}
|
||||
<p>Alter: {$user.age}<br />
|
||||
{/if}
|
||||
<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>{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>
|
||||
{if $user.friendlink!=""}<li>{$user.friendlink}</li>{/if}
|
||||
</ul>
|
||||
</p>
|
||||
{if $user.favourits!=''}
|
||||
<p>
|
||||
<h3>Meine Links</h3>
|
||||
<ul>
|
||||
{$user.favourits}
|
||||
</ul>
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div><!-- Row End-->
|
||||
{if $friends!=""}
|
||||
<div class="row section-head">
|
||||
<div class="twelve columns">
|
||||
<!-- 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" />
|
||||
|
||||
<h3>Freunde</h3>
|
||||
{$friends}
|
||||
</div>
|
||||
</div> <!-- Row End-->
|
||||
{/if}
|
||||
<!-- Script
|
||||
================================================== -->
|
||||
<script src="{$themepath}/js/modernizr.js"></script>
|
||||
<script defer src="{$themepath}/js/fontawesome/all.min.js"></script>
|
||||
<!--<script src="{$themepath}/js/jquery-3.2.1.min.js"></script>-->
|
||||
|
||||
<div class="row section-head">
|
||||
{if $gb!=""}
|
||||
<hr>
|
||||
{$pagination}
|
||||
{foreach from=$gb item=g}
|
||||
<div class="twelve columns">
|
||||
<a href="/np/{$g.username}">{$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>
|
||||
{/foreach}
|
||||
<div class="twelve columns add-bottom">
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="{$themepath}/js/wysibb/jquery.wysibb.min.js"></script>
|
||||
<link rel="stylesheet" href="{$themepath}/js/wysibb/theme/default/wbbtheme.css" />
|
||||
<!-- Favicons
|
||||
================================================== -->
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
{$content}
|
||||
|
||||
<h3 class="add-bottom">Pagination</h3>
|
||||
<!-- Java Script
|
||||
================================================== -->
|
||||
|
||||
<nav class="pagination add-bottom">
|
||||
|
||||
{$pagination}
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
{else}
|
||||
<hr>
|
||||
<div class="twelve columns">
|
||||
<p>Keine Einträge. Schreib doch einfach einen. ;-)</p>
|
||||
</div>
|
||||
<hr>
|
||||
{/if}
|
||||
{if $loggedin==true}
|
||||
<h3>Gästebucheintrag schreiben:</h3>
|
||||
<form action="/np/{$user.username}/gbentry" method="post">
|
||||
<textarea name="gbeintrag" id="gb"></textarea>
|
||||
<input type="hidden" name="user" value="{$g.username}" />
|
||||
<input type="submit" class="button" name="submit" value="Absenden">
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="twelve columns">
|
||||
Für den Inhalt ist ausschließlich der User selbst verantwortlich.<br />
|
||||
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-->
|
||||
<script src="{$themepath}/js/main.js"></script>
|
||||
<script src="/js/odo/odometer.min.js"></script>
|
||||
{$footer}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var wbbOpt = {
|
||||
buttons: "bold,italic,underline,strike,sup,sub,|,img,link,|,code,quote"
|
||||
}
|
||||
$("#gb").wysibb(wbbOpt);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,66 +1,108 @@
|
|||
<!doctype html>
|
||||
<html class="no-js" lang="de">
|
||||
<head>
|
||||
<!--- Basic Page Needs
|
||||
================================================== -->
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<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"
|
||||
/>
|
||||
<title>{$user.sitetitle} - FunCh.at - Die Österreichische Chatcommunity</title>
|
||||
</head>
|
||||
|
||||
<!-- 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" />
|
||||
<body>
|
||||
<header id="top">
|
||||
<div class="row">
|
||||
<div class="header-content twelve columns">
|
||||
<h1 id="logo-text">{$user.sitetitle}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</header> <!-- Header End -->
|
||||
<div id="content-wrap">
|
||||
<div class="row add-bottom">
|
||||
<div class="six columns add-bottom">
|
||||
<h3>Über {$user.username} <img src="images/{$user.gender}.png" style="float: right;"></h3>
|
||||
<p><img class="pull-left" src="/forum/{$user.np_picture}" alt="Ist das {$user.username}?">
|
||||
{$user.fid2}</p>
|
||||
</div>
|
||||
<div class="six columns add-bottom">
|
||||
<h3>Über mich:</h3>
|
||||
{if $user.birthdayprivacy != none}
|
||||
<p>Alter: {$user.age}<br />
|
||||
{/if}
|
||||
<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>{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>
|
||||
{if $user.friendlink!=""}<li>{$user.friendlink}</li>{/if}
|
||||
</ul>
|
||||
</p>
|
||||
{if $user.favourits!=''}
|
||||
<p>
|
||||
<h3>Meine Links</h3>
|
||||
<ul>
|
||||
{$user.favourits}
|
||||
</ul>
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div><!-- Row End-->
|
||||
{if $friends!=""}
|
||||
<div class="row section-head">
|
||||
<div class="twelve columns">
|
||||
|
||||
<!-- Script
|
||||
================================================== -->
|
||||
<script src="{$themepath}/js/modernizr.js"></script>
|
||||
<script defer src="{$themepath}/js/fontawesome/all.min.js"></script>
|
||||
<!--<script src="{$themepath}/js/jquery-3.2.1.min.js"></script>-->
|
||||
<h3>Freunde</h3>
|
||||
{$friends}
|
||||
</div>
|
||||
</div> <!-- Row End-->
|
||||
{/if}
|
||||
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
||||
<script src="{$themepath}/js/wysibb/jquery.wysibb.min.js"></script>
|
||||
<link rel="stylesheet" href="{$themepath}/js/wysibb/theme/default/wbbtheme.css" />
|
||||
<!-- Favicons
|
||||
================================================== -->
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
{$content}
|
||||
<div class="row section-head">
|
||||
{if $gb!=""}
|
||||
<hr>
|
||||
{$pagination}
|
||||
{foreach from=$gb item=g}
|
||||
<div class="twelve columns">
|
||||
<a href="/np/{$g.username}">{$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>
|
||||
{/foreach}
|
||||
<div class="twelve columns add-bottom">
|
||||
|
||||
<!-- Java Script
|
||||
================================================== -->
|
||||
<h3 class="add-bottom">Pagination</h3>
|
||||
|
||||
<script src="{$themepath}/js/main.js"></script>
|
||||
<script src="/js/odo/odometer.min.js"></script>
|
||||
{$footer}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var wbbOpt = {
|
||||
buttons: "bold,italic,underline,strike,sup,sub,|,img,link,|,code,quote"
|
||||
}
|
||||
$("#gb").wysibb(wbbOpt);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
<nav class="pagination add-bottom">
|
||||
|
||||
{$pagination}
|
||||
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
<hr>
|
||||
{else}
|
||||
<hr>
|
||||
<div class="twelve columns">
|
||||
<p>Keine Einträge. Schreib doch einfach einen. ;-)</p>
|
||||
</div>
|
||||
<hr>
|
||||
{/if}
|
||||
{if $loggedin==true}
|
||||
<h3>Gästebucheintrag schreiben:</h3>
|
||||
<form action="/np/{$user.username}/gbentry" method="post">
|
||||
<textarea name="gbeintrag" id="gb"></textarea>
|
||||
<input type="hidden" name="user" value="{$g.username}" />
|
||||
<input type="submit" class="button" name="submit" value="Absenden">
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="twelve columns">
|
||||
Für den Inhalt ist ausschließlich der User selbst verantwortlich.<br />
|
||||
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-->
|
||||
|
|
32
modules/nickpage/templates/funchat/edit_nickpage.tpl
Normal file
32
modules/nickpage/templates/funchat/edit_nickpage.tpl
Normal file
|
@ -0,0 +1,32 @@
|
|||
<h2>Nickpageverwaltung</h2>
|
||||
<span style="text-align : center; display : block;">
|
||||
{$emsg}
|
||||
<form class="registerform" action="{$path}index.php?task=nickpage&sub=edit" name="form" enctype="multipart/form-data" method="post">
|
||||
<fieldset style="text-align : none; width: 45%; height: 250px; float:left;">
|
||||
<legend>Bild</legend>
|
||||
{if $np.np_picture!=""}
|
||||
<strong>Aktuelles Bild:</strong><br />
|
||||
<img src="{$path}np_images/{$np.np_picture}" /><br />
|
||||
{/if}
|
||||
<strong>Bild hochladen:</strong>
|
||||
<input name="np_picture" id="np_picture" type="file" />
|
||||
</fieldset>
|
||||
<fieldset style="height: 250px;">
|
||||
<legend>Links</legend>
|
||||
<strong>Linkname:</strong> <input name="np_link1_name" id="np_link1_name" value="{$np.link1_text}" type="text" /><br />
|
||||
<strong>Linkurl:</strong> <input style="margin-left:14px;" name="np_link1_link" id="np_link1_link" value="{$np.link1_value}" type="text" /><br /><br />
|
||||
<strong>Linkname:</strong> <input name="np_link2_name" id="np_link2_name" value="{$np.link2_text}" type="text" /><br />
|
||||
<strong>Linkurl:</strong> <input style="margin-left:14px;" name="np_link2_link" id="np_link2_link" value="{$np.link2_value}" type="text" /><br /><br />
|
||||
<strong>Linkname:</strong> <input name="np_link3_name" id="np_link3_name" value="{$np.link3_text}" type="text" /><br />
|
||||
<strong>Linkurl:</strong> <input style="margin-left:14px;" name="np_link3_link" id="np_link3_link" value="{$np.link3_value}" type="text" /><br /><br />
|
||||
<strong>Linkname:</strong> <input name="np_link4_name" id="np_link4_name" value="{$np.link4_text}" type="text" /><br />
|
||||
<strong>Linkurl:</strong> <input style="margin-left:14px;" name="np_link4_link" id="np_link4_link" value="{$np.link4_value}" type="text" /><br /><br />
|
||||
</fieldset>
|
||||
<fieldset style="text-align : justify; clear:both;">
|
||||
<legend>Über dich</legend>
|
||||
<textarea name="np_text" id="np_text" rows="15" style="width: 70%;" tabindex="2">{$np.np_text}</textarea>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<input type="submit" class="button" name="submit" value="Absenden" />
|
||||
</form>
|
||||
</span>
|
32
modules/nickpage/templates/funchat/nickpage.tpl
Normal file
32
modules/nickpage/templates/funchat/nickpage.tpl
Normal file
|
@ -0,0 +1,32 @@
|
|||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta content="FunCh.at - Deine 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!" />
|
||||
{$meta}
|
||||
<link href="https://funch.at/chat" rel="Chat">
|
||||
<link href="https://funch.at/forum" rel="Forum">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" href="{$themepath}/layout/styles/layout.css" type="text/css">
|
||||
<script src="/modules/nickpage/js/jquery.min.js"></script>
|
||||
<script src="{$themepath}/js/wysibb/jquery.wysibb.min.js"></script>
|
||||
<link rel="stylesheet" href="{$themepath}/js/wysibb/theme/default/wbbtheme.css" />
|
||||
{$content}
|
||||
|
||||
{$footer}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var wbbOpt = {
|
||||
buttons: "bold,italic,underline,strike,sup,sub,|,img,link,|,code,quote"
|
||||
}
|
||||
$("#gb").wysibb(wbbOpt);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
112
modules/nickpage/templates/funchat/nickpage_content.tpl
Normal file
112
modules/nickpage/templates/funchat/nickpage_content.tpl
Normal file
|
@ -0,0 +1,112 @@
|
|||
<title>FunCh.at - Nickpage von {$user.sitetitle}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</head>
|
||||
<body id="top-nickpage">
|
||||
<div class="wrapper col1">
|
||||
<div id="header">
|
||||
<div class="fl_left">
|
||||
<img src="{$themepath}/images/logo_small.png">
|
||||
</div>
|
||||
<!--<div class="fl_right"><a href="#"><img src="" alt="" /></a></div>-->
|
||||
<br class="clear">
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrapper col2">
|
||||
<div id="topbar">
|
||||
<div id="topnav">
|
||||
<h1 style="font-size:X-large">{$user.sitetitle}</h1>
|
||||
</div>
|
||||
<br class="clear" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="wrapper col4">
|
||||
<div id="container">
|
||||
<div id="content" style="width:60vw;">
|
||||
<h3>Über {$user.username} <img src="images/{$user.gender}.png"></h3>
|
||||
<div style="float:left; width: 300px;">{$user.fid2}</div><img style="float:right;" src="/forum/{$user.np_picture}" alt="Ist das {$user.username}?">
|
||||
<br class="clear">
|
||||
<div id="comments">
|
||||
{if $gb!=""}
|
||||
{$pagination}
|
||||
<ul class="commentlist">
|
||||
{foreach from=$gb item=g}
|
||||
<li class="comment_odd">
|
||||
<div class="author"><span class="name"><a href=""/np/{$g.username}">{$g.username}</a></span> <span class="wrote">schrieb am {$g.date}</span></div><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}</p>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{$pagination}
|
||||
<hr>
|
||||
{else}
|
||||
<p>Keine Einträge. Schreib doch einfach einen. ;-)</p>
|
||||
<hr>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<div id="column">
|
||||
<div class="subnav" style="width:320px;">
|
||||
<h3>Über mich:</h3>
|
||||
<ul>
|
||||
{if $user.birthdayprivacy != none}
|
||||
<li>Alter: {$user.age}</li>
|
||||
{/if}
|
||||
<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>
|
||||
{if $user.friendlink!=""}<li>{$user.friendlink}</li>{/if}
|
||||
</ul>
|
||||
</div>
|
||||
{if $user.favourits!=''}
|
||||
<div class="subnav" style="width:320px;">
|
||||
<h3>Meine Links</h3>
|
||||
<ul>
|
||||
{$user.favourits}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
{if $friends!=""}
|
||||
<div class="subnav" style="width:320px;">
|
||||
<h3>Freunde</h3>
|
||||
{$friends}
|
||||
</div> <!-- Row End-->
|
||||
{/if}
|
||||
<br class="clear">
|
||||
</div><!-- Row End-->
|
||||
<div class="wrapper col4">
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
{if $loggedin==true}
|
||||
<h3>Gästebucheintrag schreiben:</h3>
|
||||
<form action="/np/{$user.username}/gbentry" method="post">
|
||||
<textarea name="gbeintrag" id="gb"></textarea>
|
||||
<input type="hidden" name="user" value="{$g.username}" />
|
||||
<input type="submit" class="button" name="submit" value="Absenden">
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<br class="clear">
|
||||
</div>
|
||||
|
||||
<div class="wrapper col6">
|
||||
<div id="footer">
|
||||
<br class="clear">
|
||||
</div>
|
||||
</div>
|
||||
<!-- ####################################################################################################### -->
|
||||
<div class="wrapper col7">
|
||||
<p>Für den Inhalt ist ausschließlich der User selbst verantwortlich. Diese Nickpage ist Teil der <a href="//www.funch.at" target="_blank">FunCh.at Community</a>.</p>
|
||||
<div id="copyright">
|
||||
<p class="fl_left">© Copyright 2025 FunCh.at</p> <p class="fl_left">|</p> <p class="fl_left"><a href="/t/nutzungsbedingungen.html">Nutzungsbedingungen</a></p> <p class="fl_left">|</p> <p class="fl_left"><a href="/t/datenschutzerklaerung.html">Datenschutzerklärung</a></p>
|
||||
<br class="clear">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
88
modules/nickpage/templates/funchat/styles.css
Normal file
88
modules/nickpage/templates/funchat/styles.css
Normal file
|
@ -0,0 +1,88 @@
|
|||
html,body{margin:0;padding:0}
|
||||
body{
|
||||
font: 76% arial,sans-serif;text-align:center;
|
||||
background:#FFFFFF url(/npimages/body_background.gif) repeat-x scroll 0 135px;
|
||||
}
|
||||
p{margin:0 10px 10px}
|
||||
a{
|
||||
text-decoration:none;
|
||||
color:#000000;
|
||||
}
|
||||
div#header{
|
||||
background:transparent url(/npimages/nickpage.jpg) no-repeat scroll 4px 0;
|
||||
height:125px;
|
||||
margin:0 auto 11px;
|
||||
overflow:hidden;
|
||||
text-align:left;
|
||||
background-color:#FFFFFF;
|
||||
float:left;
|
||||
width: 659px;
|
||||
}
|
||||
#wrapper {
|
||||
clear:both;
|
||||
display:block;
|
||||
margin:0 auto;
|
||||
text-align:justify;
|
||||
width:700px;
|
||||
}
|
||||
|
||||
div#header h1{height:80px;line-height:80px;margin:0;padding-left:10px;}
|
||||
div#container{text-align:left}
|
||||
div#content p{line-height:1.4}
|
||||
div#navigation{background:#F6F0E0;}
|
||||
div#navigation ul{
|
||||
padding:5px;
|
||||
margin:15px 0;
|
||||
list-style-type:none;
|
||||
}
|
||||
div#links ul{
|
||||
padding:5px;
|
||||
margin:15px 0;
|
||||
list-style-type:none;
|
||||
}
|
||||
.dropnav {
|
||||
border:medium none;
|
||||
clear:both;
|
||||
color:#FFFFFF;
|
||||
float:none;
|
||||
font-size:125%;
|
||||
font-weight:bold;
|
||||
height:34px;
|
||||
margin:0 auto;
|
||||
text-align:center;
|
||||
white-space:nowrap;
|
||||
width:700px;
|
||||
}
|
||||
style.css (Zeile 988)
|
||||
|
||||
div#navigation li{margin-bottom:5px;}
|
||||
div#links{background:#CCC8B3;}
|
||||
div#footer{background:#BFBD93;}
|
||||
div#footer p{margin:0;padding:5px 10px}
|
||||
div#container{width:700px;margin:0 auto}
|
||||
div#content{float:left;width:500px}
|
||||
div#navigation{float:right;width:200px}
|
||||
div#links{float:right;clear:right;width:200px}
|
||||
div#footer{clear:both;width:100%}
|
||||
.image{
|
||||
float:left;
|
||||
margin: 5px;
|
||||
}
|
||||
.details{
|
||||
float:left;
|
||||
margin-left:5px;
|
||||
}
|
||||
.friends{
|
||||
background:#C0C0C0 none repeat scroll 0 0;
|
||||
clear:both;
|
||||
margin:5px;
|
||||
padding:3px;
|
||||
}
|
||||
.text{
|
||||
clear:both
|
||||
}
|
||||
|
||||
div#gender{
|
||||
background-color:#FFFFFF;
|
||||
float:right;
|
||||
}
|
|
@ -7,7 +7,7 @@
|
|||
<!-- ####################################################################################################### -->
|
||||
<div class="wrapper col7">
|
||||
<div id="copyright">
|
||||
<p class="fl_left">© Copyright 2025 FunCh.at</p> <p class="fl_left">|</p> <p class="fl_left"><a href="/t/nutzungsbedingungen.html">Nutzungsbedingungen</a></p> <p class="fl_left">|</p> <p class="fl_left"><a href="/t/datenschutzerklaerung.html">Datenschutzerklärung</a></p>
|
||||
<p class="fl_left">© Copyright 2025 FunCh.at</p> <p class="fl_left"> | </p> <p class="fl_left"><a href="/t/nutzungsbedingungen.html">Nutzungsbedingungen</a></p> <p class="fl_left"> | </p> <p class="fl_left"><a href="/t/datenschutzerklaerung.html">Datenschutzerklärung</a> <p class="fl_left"> | <a rel="me" href="https://fedi.at/@genuineparts">Mastodon</a></p></p>
|
||||
<br class="clear">
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<!doctype html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>FunCh.at - Deine Chatcommunity</title>
|
||||
|
|
BIN
themes/funchat/images/logo_small.png
Normal file
BIN
themes/funchat/images/logo_small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
|
@ -264,12 +264,12 @@ div.wrapper h6 {
|
|||
/* ----------------------------------------------Content------------------------------------- */
|
||||
|
||||
#container {
|
||||
padding: 30px 20vw;
|
||||
padding: 30px 30px;
|
||||
}
|
||||
#content {
|
||||
display: block;
|
||||
float: left;
|
||||
width: 80%;
|
||||
width: 65vw;
|
||||
}
|
||||
|
||||
/* Homepage */
|
||||
|
@ -373,8 +373,8 @@ div.wrapper h6 {
|
|||
#column {
|
||||
display: block;
|
||||
float: right;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
#column .holder {
|
||||
display: block;
|
||||
width: 260px;
|
||||
|
|
|
@ -14,9 +14,10 @@
|
|||
#topnav li:hover{position:static;}
|
||||
#topnav li.last{margin:0;}
|
||||
|
||||
|
||||
/* ----------------------------------------------Column Navigation------------------------------------- */
|
||||
|
||||
#column .subnav{display:block; width:250px; padding:25px; background-color:#1F1F1F; margin-bottom:30px;}
|
||||
#column .subnav{display:block; width:200px; padding:25px; background-color:#1F1F1F; margin-bottom:30px;}
|
||||
#column .subnav h2{margin:0 0 20px 0; padding:0 0 14px 0; font-size:20px; font-weight:normal; font-family:Inter; color:#666666; background-color:#1F1F1F; line-height:normal; border-bottom:1px dashed #666666;}
|
||||
#column .subnav ul{margin:0; padding:0; list-style:none;}
|
||||
#column .subnav li{margin:0 0 3px 0; padding:0;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue