Iran
|
Edited by mj1919 at 2013-7-17 21:28
here you are(first 147 lines of 865 lines):- <?
- if(!defined('IN_DISCUZ')) {
- exit('Access Denied');
- }
- loadcache('plugin');
- $chat = array();
- $config = $_G['cache']['plugin']['th_chat'];
- $chat['bgcss'] = 'background:#FFF';
- if($config['chat_bg']){
- $chat['bgcss'] .= ' url('.$config['chat_bg'].')';
- switch($config['chat_bgpos']){
- case 1: $x = 'left top';break;
- case 2: $x = 'center top';break;
- case 3: $x = 'right top';break;
- case 4: $x = 'left center';break;
- case 5: $x = 'center center';break;
- case 6: $x = 'right center';break;
- case 7: $x = 'left buttom';break;
- case 8: $x = 'center buttom';break;
- case 9: $x = 'right buttom';break;
- }
- switch($config['chat_bgrepeat']){
- case 1: $y = 'no-repeat';break;
- case 2: $y = 'repeat-x';break;
- case 3: $y = 'repeat-y';break;
- case 4: $y = 'repeat';break;
- }
- $chat['bgcss'] .= ' '.$x.' '.$y;
- }
- $chat['bgcss'] .= ';';
- $chat['delay'] = intval($config['chat_delay']);
- $chat['reload'] = intval($config['chat_reload']);
- $chat['guest_show'] = $config['guest_show'];
- $chat['chatrowmax'] = $config['chat_init'];
- $chat['iscleardata'] = $config['typechatrow'];
- $chat['editor'] = '';
- if($config['usedzc']){
- $chat['editor'] .= '<a href="javascript:void(0);" title="Bold" class="fbld" onclick="seditor_insertunit(\'nzchat\', \'[b]\', \'[/b]\')">B</a>
- <a href="javascript:void(0);" title="Italics" style="background-position: -20px 0px;" onclick="seditor_insertunit(\'nzchat\', \'[i]\', \'[/i]\')">I</a>
- <a href="javascript:void(0);" title="Underlined" style="background-position: -40px 0px;" onclick="seditor_insertunit(\'nzchat\', \'[u]\', \'[/u]\')">U</a>
- <a href="javascript:void(0);" title="Color" class="fclr" id="nzchatforecolor" onclick="showColorBox(this.id, 2, \'nzchat\');doane(event)">Color</a>
- ';
- }
- if($config['useimg']){
- $chat['editor'] .= '<a id="nzchatimg" href="javascript:void(0);" title="Insert IMG" class="fmg" onclick="seditor_menu(\'nzchat\', \'img\')">Image</a>
- ';
- }
- if($config['usedzc']){
- $chat['editor'] .= '<a id="nzchaturl" href="javascript:void(0);" title="Insert link" class="flnk" onclick="seditor_menu(\'nzchat\', \'url\')">Link</a>
- ';
- }
- if($config['useemo']){
- $chat['editor'] .= '<a href="javascript:void(0);" class="fsml" id="nzchatsml" title="Insert Emotion" onclick="showMenu({\'ctrlid\':this.id,\'evt\':\'click\',\'layer\':2});return false;">Smilies</a>
- ';
- }
- $chat['welcometext'] = $config['welcometext'];
- $chat['sort'] = $config['chat_type'];
- ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!--vot--><html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Forum - Powered by Discuz!</title>
- <meta name="keywords" content="Forum" />
- <meta name="description" content="Forum " />
- <meta name="generator" content="Discuz! X2.5" />
- <meta name="author" content="Discuz! Team and Comsenz UI Team" />
- <meta name="copyright" content="2001-2012 Comsenz Inc." />
- <meta name="MSSmartTagsPreventParsing" content="True" />
- <meta http-equiv="MSThemeCompatible" content="Yes" />
- <base href="http://localhost/discuz25/" /><link rel="stylesheet" type="text/css" href="data/cache/style_1_common.css?p9B" /><link rel="stylesheet" type="text/css" href="data/cache/style_1_forum_index.css?p9B" /><!-- Multi-Lingual Javascript Support by Valery Votintsev -->
- <!--vot--><script src="/discuz25/source/language/en/lang_js.js?p9B" type="text/javascript"></script>
- <!--vot--><script type="text/javascript">var STYLEID = '1', STATICURL = 'static/', IMGDIR = 'static/image/common', VERHASH = 'p9B', charset = 'utf-8', discuz_uid = '1', cookiepre = 'EHfp_2132_', cookiedomain = '', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = 'newthread', creditnotice = '1|Reputation|,2|Money|,3|Contribution|', defaultstyle = '', REPORTURL = 'aHR0cDovL2xvY2FsaG9zdC9kaXNjdXoyNS9mb3J1bS5waHA=', SITEURL = 'http://localhost/discuz25/', JSPATH = 'static/js/', LANG = 'en', LANGURL = 'http://localhost/discuz25/source/language/en/', LANGDIR = 'ltr', RTLSUFFIX = '';</script>
- <script src="static/js/common.js?p9B" type="text/javascript"></script>
- <meta name="application-name" content="Discuz! Board" />
- <meta name="msapplication-tooltip" content="Discuz! Board" />
- <meta name="msapplication-task" content="name=Forum;action-uri=http://localhost/discuz25/forum.php;icon-uri=http://localhost/discuz25/static/image/common/bbs.ico" />
- <link rel="archives" title="Discuz! Board" href="http://localhost/discuz25/archiver/" />
- <!--vot--> <link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_1_widthauto.css?p9B" />
- <script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
- <script src="static/js/forum.js?p9B" type="text/javascript"></script>
- </head>
- <body id="nv_forum" class="pg_index" onkeydown="if(event.keyCode==27) return false;">
- <div id="append_parent"></div><div id="ajaxwaitid"></div>
- <div id="toptb" class="cl">
- <div class="wp">
- <div class="z"><!--vot--> <a href="javascript:;" onclick="setHomepage('http://localhost/discuz25/');"><img src="static/image/common/home.gif" title="Set as Homepage"></a><span class="pipe">|</span><!--vot--> <a href="http://localhost/discuz25/" onclick="addFavorite(this.href, 'Discuz! Board');return false;"><img src="static/image/common/fav.gif" title="Add to Favorites"></a><span class="pipe">|</span></div>
- <div class="y">
- <a id="switchblind" href="javascript:;" onclick="toggleBlind(this)" title="Enable Auxiliary Access" class="switchblind"><img src="static/image/common/switch_blind.png"></a>
- <!--vot--> <span class="pipe">|</span>
- <!-- vot Multi-Lingual -->
- <a id="lslct" href="javascript:;" onmouseover="delayShow(this, function() {showMenu({'ctrlid':'lslct','pos':'34!'})});" title="Change language"><img class="flag" src="/discuz25/source/language/en/en.gif"/></a>
- <span class="pipe">|</span>
- <!--vot--> <a href="javascript:;" onclick="widthauto(this)" title="Narrow screen"><img src="static/image/common/shrink.png"></a>
- <!--vot--> <span class="pipe">|</span>
- <!--vot--> <a id="sslct" href="javascript:;" onmouseover="delayShow(this, function() {showMenu({'ctrlid':'sslct','pos':'34!'})});" title="Change Style"><img src="static/image/common/style_switch.png"></a>
- <a id="diy-tg" href="javascript:openDiy();" title="Layout Panel" class="xi1 xw1" onmouseover="showMenu(this.id)"><img src="static/image/diy/panel-toggle.png" alt="DIY" /></a>
- <div id="diy-tg_menu" style="display: none;">
- <ul>
- <li><a href="javascript:saveUserdata('diy_advance_mode', '');openDiy();" class="xi2">Simple mode</a></li>
- <li><a href="javascript:saveUserdata('diy_advance_mode', '1');openDiy();" class="xi2">Advanced Mode</a></li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <!-- vot Multi-Lingual -->
- <div id="lslct_menu" class="cl p_pop" style="display: none; width:120px;"><a href="javascript:;" onclick="setlang('ar')" title="Arabic">
- <img src="/discuz25/source/language/ar/ar.gif"/> العربية</a>
- <a href="javascript:;" onclick="setlang('de')" title="German">
- <img src="/discuz25/source/language/de/de.gif"/> Deutsch</a>
- <a href="javascript:;" onclick="setlang('en')" title="English">
- <img src="/discuz25/source/language/en/en.gif"/> English</a>
- <a href="javascript:;" onclick="setlang('es')" title="Spanish">
- <img src="/discuz25/source/language/es/es.gif"/> Español</a>
- <a href="javascript:;" onclick="setlang('fr')" title="French">
- <img src="/discuz25/source/language/fr/fr.gif"/> Français</a>
- <a href="javascript:;" onclick="setlang('kr')" title="Korean">
- <img src="/discuz25/source/language/kr/kr.gif"/> 한국어</a>
- <a href="javascript:;" onclick="setlang('pl')" title="Polish">
- <img src="/discuz25/source/language/pl/pl.gif"/> Polski</a>
- <a href="javascript:;" onclick="setlang('ru')" title="Russian">
- <img src="/discuz25/source/language/ru/ru.gif"/> Русский</a>
- <a href="javascript:;" onclick="setlang('sc')" title="Simplified Chinese">
- <img src="/discuz25/source/language/sc/zh.gif"/> 简体中文</a>
- <a href="javascript:;" onclick="setlang('tc')" title="Traditional Chinese">
- <img src="/discuz25/source/language/tc/tw.gif"/> 繁體中文</a>
- <a href="javascript:;" onclick="setlang('th')" title="Thai">
- <img src="/discuz25/source/language/th/th.gif"/> ภาษาไทย</a>
- <a href="javascript:;" onclick="setlang('tr')" title="Turkish">
- <img src="/discuz25/source/language/tr/tr.gif"/> Türkçe</a>
- <a href="javascript:;" onclick="setlang('vn')" title="Vietnamese">
- <img src="/discuz25/source/language/vn/vn.gif"/> Tiếng Việt</a>
- </div>
- <!--vot--> <div id="sslct_menu" class="cl p_pop" style="display: none;">
- <!--vot--> <a class="sslct_btn" onclick="extstyle('')"><i></i>Default</a><!--vot--> <a class="sslct_btn" onclick="extstyle('./template/default/style/t1')"><i style='background:#BA350F'></i>Red</a>
- <!--vot--> <a class="sslct_btn" onclick="extstyle('./template/default/style/t2')"><i style='background:#429296'></i>Green</a>
- <!--vot--> <a class="sslct_btn" onclick="extstyle('./template/default/style/t3')"><i style='background:#FE9500'></i>Orange</a>
- <!--vot--> <a class="sslct_btn" onclick="extstyle('./template/default/style/t4')"><i style='background:#9934B7'></i>Purple</a>
- <!--vot--> <a class="sslct_btn" onclick="extstyle('./template/default/style/t5')"><i style='background:#0053B9'></i>Blue</a>
- </div>
Copy the Code |
|