Просмотр файла znaki_LIM/znaki_LIM/index.php

Размер файла: 2.02Kb
<?php
//Ї®бл« Ґ¬ § Ј®«®ўЄЁ
Error_Reporting(E_ALL & ~E_NOTICE);
header ("Content-type:text/vnd.wap.wml; charset=utf-8");
print '<?xml version="1.0" encoding="utf-8"?>';
print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">'.
'<wml><head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>';
/////////////////////////////////////////////////////////////////////////////////////////////////
include "./ini.php";
//////////////////////////////////////////////////////////////////////////////////////////////////

//ўЄ«оз Ґ¬ Є®­дЁЈга жЁ®­­л© д ©«

// ўв®аЁ§ жЁп

print '<card title="'.$lang['pozd'].'">'.
'<p align="center">';
print 'LiM World<br/>'.$lang['kp'].'<br/></p><p>';
print '<a href="vhod.wml">'.$lang['enter'].'</a><br/>
       <a href="reg1.php">'.$lang['reg'].'</a><br/><br/></p><p align="center">';
      
	switch($mod) {
	//Їа®б¬®ва ўбваҐзЁ
	case 'view':
	//§ Їа®б ­  ЇҐаҐ¤ ­­го ўбваҐзг
	$q = @mysql_query("select * from `".$px.$meettable."` where id='$meetid' order by id desc;");
	//ў ¬ ббЁў
	$arr = @mysql_fetch_array($q);

////////////////////////////////////////////////////////////////////

	//ўлў®¤ ¤ ­­ле ® ўбваҐзЁ
if ($arr['pphoto']="1"){print '';	} else {

print "<img src=\"".$arr['pphoto']."\" alt=\".\" width=\"128\" height=\"128\"/><br/><br/>";	}	
print "<u>".$arr['title']." pozdravljaet ".$arr['organizatory']."</u><br/><b>******</b></p><p>";
	print "<br/>".$arr['content']."<br/></p><p align=\"center\"><b>******</b><br/>";
	print "<br/>s iskrennimi pozhelanijami_____".$arr['login']."<br/></p><p>";

	break;
	//Ї® 㬮«з ­Ёо
	default:
	//§ Їа®б ­  ўбваҐзЁ
	$q = @mysql_query("select * from `".$px.$meettable."` order by id desc;");
	//ўлў®¤Ё¬ ббл«ЄЁ ­  ўбваҐзЁ
	while($arr = @mysql_fetch_array($q)) {++$i;
	print "".$i.".<a href=\"index.php?id=$id&amp;pass=$pass&amp;meetid=".$arr['id']."&amp;mod=view\">".$arr['title']."</a><br/>"; }
	
break;
	}
	if($mod)

mysql_close();
ob_end_flush();
?>
</p>
</card>
</wml>