Wörk Wörk Wörk

This commit is contained in:
genuineparts 2025-06-19 00:07:46 +02:00
parent faad932a90
commit fd22e35e04
7 changed files with 41 additions and 9985 deletions

View file

@ -1,6 +1,6 @@
<?php
/**
* Project: astat - simple site engine
* Project: BeCast WebEngine - simple site engine
* File: /modules/nickpage/nickpage.output.php
*
* This program is free software; you can redistribute it and/or modify
@ -16,10 +16,10 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @link http://www.astat.org SVN: $URL$
* @link http://www.becast.at SVN: $URL$
* @copyright 2009 becast.at
* @author Bernhard Jaud <bernhard at becast dot at>
* @package astat core
* @package BeCast WebEngine Nickpage
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
*/
@ -71,10 +71,9 @@ class nickpage extends module{
$gb_count=$db->fetch_array($result);
$gb_pages=ceil($gb_count['count']/$count);
$db->free_result($result);
if($user['birthday']!=''){
$today = new DateTime();
$birthday = $today->createFromFormat('j-n-Y', '10-2-1984');
$birthday = $today->createFromFormat('j-n-Y', $user['birthday']);
$now = new DateTime();
$age = $now->diff($birthday);
$user['age'] = $age -> y;
@ -121,7 +120,7 @@ class nickpage extends module{
$pagination.='<span class="page-numbers next inactive">Weiter ></span>';
}
$user['chattime']=$this->intervall($chat['chattime']);
$user['reviewnum']=$reviews['count'];
switch($chat['rights']){
case(99):
$user['chatright']='Chatadmin';
@ -179,7 +178,7 @@ class nickpage extends module{
$friendl.=", ";
}
$nick=$name['nick'];
$friendl.='<nobr><a style="text-decoration:none;" href="http://'.rawurlencode ($nick).'.recensio.org/">'.$nick.'</a></nobr>';
$friendl.='<nobr><a style="text-decoration:none;" href="http://funch.at/np/'.rawurlencode ($nick).'">'.$nick.'</a></nobr>';
}
$db->free_result($result);
}
@ -282,13 +281,12 @@ class nickpage extends module{
return $content;
}
function meta(){
global $session,$config,$db,$tpl,$log,$plugin;
$meta='<link rel="stylesheet" href="'.$config['path'].'/modules/nickpage/js/jquery.accessible-news-slider.css" type="text/css" media="screen" />
<script language="javascript" type="text/javascript" src="'.$config['path'].'/modules/nickpage/js/jquery-1.2.6.pack.js"></script>
<script language="javascript" type="text/javascript" src="'.$config['path'].'/modules/nickpage/js/jquery.accessible-news-slider.js"></script>';
return $meta;
function meta(){
global $session,$config,$db,$tpl,$log,$plugin;
$meta='';
return $meta;
}
function meta_edit(){
global $session,$config,$db,$tpl,$log,$plugin;
$meta='<script type="text/javascript" src="'.$config['path'].'/modules/reviews/comments/nicEdit.js?ver=1500"></script>