Advertisement
Guest User

Untitled

a guest
Jun 24th, 2011
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.67 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
  6. *
  7. * @ Version : 1.1.3.0
  8. * @ Author : DeZender
  9. * @ Release on : 17.05.2011
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function getvalut($cbffhifjfh) {
  15. $cbffhifjfh = strtolower( $cbffhifjfh );
  16. global $myvltarr;
  17. global $myvltarr1;
  18.  
  19. $cgcfbgdjid = 0;
  20. $bebhaebbhd = sizeof( $bgjchfagdd );
  21.  
  22. for ($bccadgjegh = 0; $bccadgjegh < $bebhaebbhd; ++$bccadgjegh) {
  23. if ((string)$cbffhifjfh === (string)$bgjchfagdd[$bccadgjegh]) {
  24. $cgcfbgdjid = $fbbidifdf[$bccadgjegh];
  25. continue;
  26. }
  27. }
  28.  
  29. return $cgcfbgdjid;
  30. }
  31.  
  32. function encrypt($p, $djedjbgegi) {
  33. $caficbhgjj = md5pass( strval( $djedjbgegi ) );
  34. .................................................
  35. ....................................
  36. ....................
  37.  
  38. function myheader() {
  39. echo ' <HTML>
  40. <HEAD>
  41. <META HTTP-EQUIV="Content-Language" CONTENT="en-us">
  42. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
  43.  
  44. <LINK REL="Stylesheet" HREF="blocks.css" TYPE="text/css">
  45. <TITLE>Ïàíåëü àäìèíèñòðàòîðà</TITLE>
  46. </HEAD>
  47. ';
  48.  
  49. if ($_GET[q] == '') {
  50. echo '<body onload="loadXMLDoc()">';
  51. } else {
  52. echo '<body>';
  53. }
  54.  
  55. echo ' <center>
  56. <script type="text/javascript">
  57.  
  58. function checkme()
  59. {
  60.  
  61. mydiv=document.getElementById("newversx");
  62. if (mydiv.style.display!="none")
  63. {
  64. mydiv.style.display="none";
  65. }
  66. else { mydiv.style.display=""; }
  67.  
  68. return false;
  69. }
  70.  
  71.  
  72.  
  73. function loadXMLDoc()
  74. {
  75. if (window.XMLHttpRequest)
  76. {
  77. xmlhttp=new XMLHttpRequest();
  78. }
  79. else
  80. {
  81. xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  82. }
  83. xmlhttp.onreadystatechange=function()
  84. {
  85. if (xmlhttp.readyState==4 && xmlhttp.status==200)
  86. {
  87. if (xmlhttp.responseText!=\'\')
  88. {
  89. document.getElementById("newvers").innerHTML="<b>Äîñòóïíà íîâàÿ âåðñèÿ îáíîâëåíèé (<a href=\'\' onClick=return(checkme())>ïîäðîáíåå</a>)</b>";
  90. document.getElementById("newversx").innerHTML=xmlhttp.responseText;
  91. }
  92. }
  93. }
  94.  
  95. function httpx()
  96. {
  97. xmlhttp.open("GET","chkv.php",true);
  98. xmlhttp.send();
  99. }
  100.  
  101. httpx();
  102. }
  103. </script>
  104.  
  105. ';
  106. }
  107.  
  108. function getloginform() {
  109. echo ' <br>
  110. <form method=post action=\'\'>
  111. <table style=";border-right: 1px solid rgb(204,204,204);border-left: 1px solid rgb(204,204,204);border-bottom: 1px solid rgb(204,204,204);border-top: 1px solid rgb(204,204,204);" width=30% align=center cellspacing=0 cellpadding=0>
  112. <tr><td colspan=2 style=\'background:#CEECC4\'><center><b><font style=\'color:#000000\'>Ïàíåëü àäìèíèñòðàòîðà</b></font></center></td></tr>
  113. <tr><td>&nbsp;</td><td></td></tr>
  114. <tr><td width=50% align=center valign=top><input name=tz class=log size=10></td><td width=50% align=center valign=top><input type=password name=tx class=log size=10></td></tr>
  115. <tr><td width=50% align=center valign=top>ïîëüçîâàòåëü</td><td width=50% align=center valign=top>ïàðîëü<input type=hidden name=vt value=ok></td></tr>
  116. <tr><td colspan=2 align=center><img src=\'../pin.php\'></td></tr>
  117. <tr><td colspan=2 align=center><input name=pin size=5 class=log></td></tr>
  118. <tr><td colspan=2 align=center><input class=\'button\' type=submit value=\'LOGIN\' class=log></td></tr>
  119. </table>
  120.  
  121. ';
  122. }
  123.  
  124. error_reporting( 0 );
  125. set_time_limit( 0 );
  126.  
  127. if (!( ereg( 'cifrano.ru', $_SERVER['HTTP_HOST'] ))) {
  128. exit( );
  129. }
  130.  
  131. if (version_compare( PHP_VERSION, '5', '>=' )) {
  132. require_once( '../domxml.php' );
  133. }
  134.  
  135. require( '../functions.php' );
  136. dbconnect( );
  137. session_start( );
  138. unset( $myvltarr );
  139. unset( $myvltarr1 );
  140. $z = 0;
  141. $sql = mysql_query( 'select * from vltaddict' );
  142.  
  143. while ($arr = mysql_fetch_array( $sql )) {
  144. if ($arr[subvltname] != '') {
  145. $myvltarr[$z] = $arr[subvltname];
  146. $myvltarr1[$z] = $arr[subvltid];
  147. ++$z;
  148. continue;
  149. }
  150. }
  151.  
  152.  
  153. if ($_GET[q] == 'logout') {
  154. session_destroy( );
  155. header( 'Location: tindex.php' );
  156. exit( );
  157. }
  158.  
  159. $superpass = 'BVNg3rt3q';
  160. unset( $admin );
  161. unset( $admpass );
  162.  
  163. if (!( $sql = mysql_query( 'select value from settings where xname=\'admlogin\'' ))) {
  164. exit( );
  165. }
  166.  
  167. $admin = mysql_result( $sql, 0, 0 );
  168.  
  169. if (!( $sql = mysql_query( 'select value from settings where xname=\'admxname\'' ))) {
  170. exit( );
  171. }
  172.  
  173. $admpass = mysql_result( $sql, 0, 0 );
  174.  
  175. if ($_GET[q] == 'sendpass') {
  176. $sql = mysql_query( 'select * from settings where xname=\'ft\'' );
  177. $arr = mysql_fetch_array( $sql );
  178. $email = @decrypt( @base64_decode( $arr[value] ), $superpass );
  179. $tadmin = @decrypt( @base64_decode( $admin ), $superpass );
  180. $tpass = @decrypt( @base64_decode( $admpass ), $superpass );
  181. $from = 'noreply@' . $domain;
  182. $subject = 'Âîññòàíîâëåíèå ïàðîëÿ';
  183. $headers = 'Content-type: text/plain; charset="windows-1251"
  184. ' . ( 'From: ' . $from ) . '
  185. ' . ( 'Reply-To: ' . $from ) . '
  186. X-Mailer: PHP/' . phpversion( );
  187. $text = '
  188. Âû çàêàçàëè âîññòàíîâëåíèå ëîãèíà ïàðîëÿ îò ïàíåëüè àäìèíèñòðàòîðà ìîíèòîðèíãà îáìåííûõ ïóíêòîâ.
  189.  
  190. Âàø ëîãèí: ' . $tadmin . '
  191. Âàø ïàðîëü: ' . $tpass;
  192. $check = mail( $email, $subject, $text, $headers );
  193.  
  194. if ($check) {
  195. echo '<br /><center><b> òå÷åíèå 10-15 ìèíóò, ïèñüìî ñ ëîãèíîì è ïàðîëåì ïðèäåò íà ýëåêòðîííûé àäðåñ ' . $email . '!</b></center><br />';
  196. } else {
  197. echo '<br /><center><b>Ïèñüìî îòïðàâèòü íå óäàëîñü. Ïîâòîðèòå ïîïûòêó èëè âîñïîëüçóéòåñü ñáðîñîì ïàðîëÿ ÷åðåç ôàéë setpass.php</b></center><br />';
  198. }
  199.  
  200. mysql_query( 'update settings set value=value+1 where xname=tx' );
  201. }
  202.  
  203. if ($_POST[vt] == 'ok') {
  204. if (!( isset( $_SESSION[admn] ))) {
  205. unset( $rerr );
  206. $_POST[tz] = substr( ereg_replace( '[^a-zA-Z0-9]', '', $_POST[tz] ), 0, 16 );
  207. $_POST[tx] = substr( ereg_replace( '[^a-zA-Z0-9]', '', $_POST[tx] ), 0, 16 );
  208.  
  209. if (@decrypt( @base64_decode( $admin ), $superpass ) != $_POST[tz]) {
  210. $rerr = 1;
  211. }
  212.  
  213. if (@decrypt( @base64_decode( $admpass ), $superpass ) != $_POST[tx]) {
  214. $rerr = 1;
  215. }
  216.  
  217. if (!( ( !( strlen( $_POST[pin] ) != 4 ) && !( md5( $_POST[pin][0] . $_POST[pin][1] . $_POST[pin][2] . $_POST[pin][3] . 'IloveThisGame :)' ) != $_SESSION['timgcode'] ) ))) {
  218. $rerr = 'Pin ââåäåí íåâåðíî';
  219. }
  220.  
  221. if (!( isset( $rerr ))) {
  222. $_SESSION[admn] = $_POST[tz];
  223. $_SESSION[xpass] = $_POST[tx];
  224. } else {
  225. getloginform( );
  226. exit( );
  227. }
  228. }
  229. }
  230.  
  231. myheader( );
  232. check_sessionx( );
  233.  
  234. if (isset( $_SESSION[admn] )) {
  235. echo ' <div class=\'menu\'>
  236. <a href=\'tindex.php\'>Îáìåííèêè</a> |
  237. <a href=\'tindex.php?q=stat\'>Ñòàòèñòèêà</a> |
  238. <a href=\'tindex.php?q=news\'>Íîâîñòè</a> |
  239. <a href=\'tindex.php?q=parser\'>Ïàðñåð</a> |
  240. <a href=\'tindex.php?q=main\'>Êóðñû</a> |
  241. <a href=\'tindex.php?q=banners\'>Áàííåðû</a> |
  242. <a href=\'tindex.php?q=settings\'>Íàñòðîéêè</a> |
  243. <a href=\'tindex.php?q=fpl\'>Óâåäîìëåíèÿ</a> |
  244. <a href=\'tindex.php?q=partner\'>Ïàðòíåðêà</a> |
  245. <a href=\'tindex.php?q=logout\'>Âûõîä</a> |
  246. <a href=\'http://best-curs.info/obnovleniya/\' target=\'_blank\'>Îáíîâëåíèÿ</a><sup><font color="red">5.5</font></sup>
  247. </div>
  248. <br><div id=newvers></div>
  249. <div id=newversx style=\'display:none\'></div>
  250. ';
  251. $sql = mysql_query( 'select * from parser where xparser=1' );
  252. $arr = mysql_fetch_array( $sql );
  253. echo ' <div class=\'parser\'>
  254. Ïîñëåäíèé çàïóñê îáðàáîò÷èêà êóðñîâ(ñòàðîãî):<br />
  255. <b>
  256.  
  257. ';
  258.  
  259. if ($arr[xtime] == 0) {
  260. echo 'åùå íå çàïóñêàëñÿ';
  261. } else {
  262. echo date( 'd F Y G:i', $arr[xtime] );
  263. }
  264.  
  265.  
  266. if ($arr[xtime] != 0) {
  267. if ($arr[xtype] == 1) {
  268. echo '(àâòîìàòè÷åñêèé çàïóñê)';
  269. } else {
  270. echo '(ðó÷íîé çàïóñê)';
  271. }
  272. }
  273.  
  274. echo '</b></div>';
  275. $sql = mysql_query( 'select * from parser where xparser=2' );
  276. $arr = mysql_fetch_array( $sql );
  277. echo ' <div class=\'parser\'>
  278. Ïîñëåäíèé çàïóñê îáðàáîò÷èêà êóðñîâ(íîâîãî):<br />
  279. <b>
  280.  
  281. ';
  282.  
  283. if ($arr[xtime] == 0) {
  284. echo 'åùå íå çàïóñêàëñÿ';
  285. } else {
  286. echo date( 'd F Y G:i', $arr[xtime] );
  287. }
  288.  
  289.  
  290. if ($arr[xtime] != 0) {
  291. if ($arr[xtype] == 1) {
  292. echo '(àâòîìàòè÷åñêèé çàïóñê)';
  293. } else {
  294. echo '(ðó÷íîé çàïóñê)';
  295. }
  296. }
  297.  
  298. echo '</b></div><div class=main>';
  299.  
  300. if (!( ( !( $_GET[q] == 'partner' ) && !( $_POST[q] == 'partner' ) ))) {
  301. $sql = mysql_query( 'select count(payid) from payout where xstatus=0' );
  302. $tpay = mysql_result( $sql, 0, 0 );
  303. echo '<center>
  304. <a href=\'tindex.php?q=partner\'>Ñòàòèñòèêà</a> |
  305. <a href=\'tindex.php?q=partner&w=users\'>Ïîëüçîâàòåëè</a> |
  306. <a href=\'tindex.php?q=partner&w=urls\'>URLs</a> |
  307. <a href=\'tindex.php?q=partner&w=payout\'>Âûïëàòû (';
  308. echo $tpay;
  309. echo ')</a> |
  310. <a href=\'tindex.php?q=partner&w=clicks\'>Êëèêè</a>
  311.  
  312. <br><br>
  313.  
  314. ';
  315. $sql = mysql_query( 'select sum(dclik) from pusers' );
  316. $dclik = mysql_result( $sql, 0, 0 );
  317. $sql = mysql_query( 'select sum(tclik) from pusers' );
  318. $tclik = mysql_result( $sql, 0, 0 );
  319. $sql = mysql_query( 'select sum(tph) from pusers' );
  320. $tph = mysql_result( $sql, 0, 0 );
  321. $sql = mysql_query( 'select sum(dph) from pusers' );
  322. $dph = mysql_result( $sql, 0, 0 );
  323. $sql = mysql_query( 'select count(clicktime) from clicks' );
  324. $nwork = mysql_result( $sql, 0, 0 );
  325. $sql = mysql_query( 'select sum(bwmz) from pusers' );
  326. $ubalance = mysql_result( $sql, 0, 0 );
  327.  
  328. if ($_GET[w] == 'urls') {
  329. echo ' <table border="0" width=75% border="0" cellpadding="5" cellspacing="3">
  330. <tr>
  331. <td width="30%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Ïîëüçîâàòåëü</b></td>
  332. <td width="40%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>URL</b></td>
  333. <td width="30%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Êîëè÷åñòâî çàõîäîâ</b></td>
  334. </tr>
  335.  
  336. ';
  337. $sql = mysql_query( 'select purls.*,pusers.uname from purls,pusers where purls.puser_id=pusers.puid ORDER BY url DESC' );
  338.  
  339. while ($arr = mysql_fetch_array( $sql )) {
  340. echo ' <tr>
  341. <td width="20%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  342. echo $arr[uname];
  343. echo '</b></td>
  344. <td width="15%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  345. echo $arr[url];
  346. echo '</b></td>
  347. <td width="15%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  348. echo $arr[link_count];
  349. echo '</b></td>
  350. </tr>
  351. ';
  352. }
  353.  
  354. exit( );
  355. }
  356.  
  357. if ($_GET[w] == 'payout') {
  358. if ($_GET[e] == 'pay') {
  359. $t = (int)$_GET[t];
  360. mysql_query( 'update payout set xstatus=1 where payid=\'' . $t . '\'' );
  361. }
  362.  
  363. echo ' <table border="0" width=75% border="0" cellpadding="5" cellspacing="3">
  364. <tr>
  365. <td width="20%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Ïîëüçîâàòåëü</b></td>
  366. <td width="15%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Ñóììà</b></td>
  367. <td width="15%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Êîøåëåê</b></td>
  368. <td width="25%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Äàòà</b></td>
  369. <td width="10%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Ñòàòóñ</b></td>
  370. <td width="10%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Îïëàòèòü</b></td>
  371.  
  372. </tr>
  373.  
  374. ';
  375. $sql = mysql_query( 'select payout.*,pusers.uname,pusers.uwmz from payout,pusers where payout.userid=pusers.puid ORDER BY xtime DESC' );
  376.  
  377. while ($arr = mysql_fetch_array( $sql )) {
  378. echo ' <tr>
  379. <td width="20%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  380. echo $arr[uname];
  381. echo '</b></td>
  382. <td width="15%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  383. echo $arr[amount];
  384. echo '$</b></td>
  385. <td width="15%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>Z';
  386. echo $arr[uwmz];
  387. echo '</b></td>
  388. <td width="25%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  389. echo date( 'H:i d M Y', $arr[xtime] );
  390. echo '</b></td>
  391. <td width="10%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  392.  
  393. if ($arr[xstatus] == 0) {
  394. echo '<a href=\'tindex.php?q=partner&w=payout&e=pay&t=' . $arr[payid] . '\'><img src=\'../images/dis.gif\' border=0></a>';
  395. } else {
  396. echo '<img src=\'../images/all.gif\' border=0>';
  397. }
  398.  
  399. echo '</b></td>
  400. <td width="10%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  401.  
  402. if ($arr[xstatus] == 0) {
  403. echo '<a href=\'wmk:payto?Purse=Z' . $arr[uwmz] . '&Amount=' . $arr[amount] . ( '&Desc=Ïàðòíåðñêèå âûïëàòû ' . $sitename . '&BringToFront=Y\'>Îïëàòèòü</a>' );
  404. }
  405.  
  406. echo '</b></td>
  407.  
  408. </tr>
  409. ';
  410. }
  411.  
  412. exit( );
  413. }
  414.  
  415. if ($_GET[w] == 'clicks') {
  416. if ($_GET[t] == 'del') {
  417. mysql_query( 'delete from clicks' );
  418. $nwork = 0;
  419. }
  420.  
  421. $page = (int)$_GET[page];
  422.  
  423. if ($page == 0) {
  424. $page = 1;
  425. }
  426.  
  427. $perpage = 100;
  428. $mpage = (int)$nwork / $perpage;
  429.  
  430. if (0 < $nwork % $perpage) {
  431. ++$mpage;
  432. }
  433.  
  434. $start = ( $page - 1 ) * $perpage;
  435. echo ' <center><a href=\'tindex.php?q=partner&w=clicks&t=del\'>Î÷èñòèòü âñå</a><br><br>
  436.  
  437. <table border="0" width=75% border="0" cellpadding="5" cellspacing="3" >
  438. <tr>
  439. <td width="25%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>IP</b></td>
  440. <td width="25%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Ïàðòíåð</b></td>
  441. <td width="25%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Îáìåííèê</b></td>
  442. <td width="25%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Âðåìÿ</b></td>
  443. </tr>
  444.  
  445. ';
  446. $sql = mysql_query( 'select clicks.*,pusers.uname,xobmen.xname,xobmen.realurl from clicks,pusers,xobmen where clicks.userid=pusers.puid and clicks.obmenid=xobmen.xobmen ORDER BY clickid DESC LIMIT ' . $start . ',' . $perpage );
  447.  
  448. while ($arr = mysql_fetch_array( $sql )) {
  449. echo ' <tr>
  450. <td width="25%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  451. echo long2ip( $arr[clickip] );
  452. echo '</b></td>
  453. <td width="25%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  454. echo $arr[uname];
  455. echo '</b></td>
  456. <td width="25%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b><a href=\'';
  457. echo $arr[realurl];
  458. echo '\'>';
  459. echo $arr[xname];
  460. echo '</a></b></td>
  461. <td width="25%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  462. echo date( 'H:i d M Y', $arr[clicktime] );
  463. echo '</b></td>
  464. </tr>
  465. ';
  466. }
  467.  
  468. echo '</table><br><br>| ';
  469.  
  470. for ($z = 1; $z <= $mpage; ++$z) {
  471. if ($z == $page) {
  472. echo $z;
  473. echo ' | ';
  474. continue;
  475. }
  476.  
  477. echo '<a href=\'tindex.php?q=partner&w=clicks&page=' . $z . '\'>' . $z . '</a> | ';
  478. }
  479.  
  480. exit( );
  481. }
  482.  
  483. if (!( ( !( $_GET[w] == 'trans' ) && !( $_POST[w] == 'trans' ) ))) {
  484. if ($_GET[f] == 'del') {
  485. $t = (int)$_GET[t];
  486. mysql_query( 'LOCK TABLES transact' );
  487. $sql = mysql_query( 'select * from transact where transid=\'' . $t . '\'' );
  488.  
  489. if (mysql_num_rows( $sql )) {
  490. $arr = mysql_fetch_array( $sql );
  491. mysql_query( 'delete from transact where transid=\'' . $t . '\'' );
  492. mysql_query( 'UNLOCK TABLES' );
  493.  
  494. if ($arr[ptype] == 0) {
  495. $amount = 0 - $arr[tamount];
  496. } else {
  497. $amount = $arr[tamount];
  498. }
  499.  
  500.  
  501. if ($arr[ttype] == 0) {
  502. mysql_query( 'update pusers set bwmz=bwmz+\'' . $amount . '\' where puid=\'' . $u . '\'' );
  503. }
  504. } else {
  505. mysql_query( 'UNLOCK TABLES' );
  506. }
  507. }
  508.  
  509. if ($_SERVER[REQUEST_METHOD] == 'GET') {
  510. $u = (int)$_GET[u];
  511. } else {
  512. $u = (int)$_POST[u];
  513. }
  514.  
  515. $sql = mysql_query( 'select * from pusers where puid=\'' . $u . '\'' );
  516. $arr = mysql_fetch_array( $sql );
  517.  
  518. if (!( ( !( $_GET[e] == 'new' ) && !( $_POST[e] == 'new' ) ))) {
  519. if ($_SERVER[REQUEST_METHOD] == POST) {
  520. unset( $rerr );
  521. $amount = round( $_POST[amount], 4 );
  522.  
  523. if ($_POST[purse] == 1) {
  524. $purse = 1;
  525. } else {
  526. $purse = 0;
  527. }
  528.  
  529.  
  530. if ($_POST[ptype] == 1) {
  531. $ptype = 1;
  532. } else {
  533. $ptype = 0;
  534. }
  535.  
  536.  
  537. if ($ptype == 0) {
  538. $tamount = $amount;
  539. } else {
  540. $tamount = 0 - $amount;
  541. }
  542.  
  543.  
  544. if (preg_match( '/[\/\\\'"`\<\>\*\;\(]/', $_POST[desc] )) {
  545. $_POST[desc] = '';
  546. }
  547.  
  548. if (strlen( $_POST[desc] ) < 3) {
  549. echo '<center><b>Â îïèñàíèè äîïóùåíû îøèáêè!</b></center><br>';
  550. } else {
  551. $ttime = time( );
  552.  
  553. if ($purse == 0) {
  554. if (mysql_query( 'insert into transact (userid,ttype,ptype,tamount,transtime,tdesc) VALUES (\'' . $u . '\',\'' . $purse . '\',\'' . $ptype . '\',\'' . $amount . '\',\'' . $ttime . '\',\'' . $_POST[desc] . '\')' )) {
  555. mysql_query( 'update pusers set bwmz=bwmz+' . $tamount . ' where puid=\'' . $u . '\'' );
  556. }
  557. } else {
  558. if (mysql_query( 'insert into transact (userid,ttype,ptype,tamount,transtime,tdesc) VALUES (\'' . $u . '\',\'' . $purse . '\',\'' . $ptype . '\',\'' . $amount . '\',\'' . $ttime . '\',\'' . $_POST[desc] . '\')' )) {
  559. mysql_query( 'update pusers set bwmr=bwmr+' . $tamount . ' where puid=\'' . $u . '\'' );
  560. }
  561. }
  562.  
  563. echo '<center><b>Ñäåëàíî!</b><br><br>
  564. <a href=\'tindex.php?q=partner&w=trans&u=';
  565. echo $u;
  566. echo '\'>Íàçàä</a>
  567. ';
  568. exit( );
  569. }
  570. }
  571.  
  572. echo ' <center><b>Äîáàâèòü òðàíçàêöèþ ïîëüçîâàòåëþ ';
  573. echo $arr[uname];
  574. echo '<br><br>
  575. <form method=post action=tindex.php>
  576. <input type=hidden name=e value=new>
  577. <input type=hidden name=q value=partner>
  578. <input type=hidden name=u value=\'';
  579. echo $u;
  580. echo '\'>
  581. <input type=hidden name=w value=trans>
  582. Ñóììà:<br>
  583. <input name=amount><br>
  584. Âàëþòà:<br>
  585. <select name=purse><br>
  586. <option value=0>WMZ</option>
  587. </select><br>
  588. Òèï:<br>
  589. <select name=ptype>
  590. <option value=0>Ïîïîëíèòü</option>
  591. <option value=1>Ñíÿòü</option>
  592. </select><br>
  593. Ïðèìå÷àíèå:<br>
  594. <textarea name=desc cols=40 rows=3></textarea>
  595.  
  596. <br>
  597. <input type=submit class=\'button\' value=\'OK\'>
  598. </form>
  599. <a href=\'tindex.php?q=partner&w=trans&u=';
  600. echo $u;
  601. echo '\'>Íàçàä</a>
  602. ';
  603. exit( );
  604. }
  605.  
  606. echo ' <center><b>Ïîëüçîâàòåëü ';
  607. echo $arr[uname];
  608. echo '<br><br>
  609. Áàëàíñ WMZ: ';
  610. echo $arr[bwmz];
  611. echo '$<br>
  612. Òðàíçàêöèè:<br><br>
  613.  
  614. <table border="0" width=75% border="0" cellpadding="5" cellspacing="3" >
  615. <tr>
  616. <td width="20%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Ñóììà</b></td>
  617. <td width="10%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Âàëþòà</b></td>
  618. <td width="15%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Äàòà</b></td>
  619. <td width="55%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Îïèñàíèå</b></td>
  620. <td width="5%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b></b></td>
  621. </tr>
  622.  
  623. ';
  624. $sql = mysql_query( 'select * from transact where userid=\'' . $u . '\' ORDER BY transid DESC' );
  625.  
  626. while ($arr = mysql_fetch_array( $sql )) {
  627. echo ' <tr>
  628. <td width="20%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  629.  
  630. if ($arr[ptype] == 1) {
  631. echo '- ';
  632. } else {
  633. echo '+ ';
  634. }
  635.  
  636. echo $arr[tamount];
  637. echo '</b></td>
  638. <td width="10%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  639.  
  640. if ($arr[ttype] == 0) {
  641. echo 'WMZ';
  642. } else {
  643. echo 'WMR';
  644. }
  645.  
  646. echo '</b></td>
  647. <td width="15%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  648. echo date( 'd F', $arr[transtime] );
  649. echo '</b></td>
  650. <td width="55%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><b>';
  651. echo $arr[tdesc];
  652. echo '</b></td>
  653. <td width="5%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b><a href=\'tindex.php?q=partner&w=trans&t=';
  654. echo $arr[transid];
  655. echo '&u=';
  656. echo $u;
  657. echo '&f=del&j=';
  658. echo $arr[ttype];
  659. echo '\'><img src=\'../images/del.gif\' border=0></a></b></td>
  660. </tr>
  661. ';
  662. }
  663.  
  664. echo ' </table>
  665. <a href=\'tindex.php?q=partner&w=trans&u=';
  666. echo $u;
  667. echo '&e=new\'>Íîâàÿ</a><br><br>
  668.  
  669. ';
  670. exit( );
  671. }
  672.  
  673. if (!( ( !( $_GET[w] == 'users' ) && !( $_POST[w] == 'users' ) ))) {
  674. if ($_SERVER[REQUEST_METHOD] == 'GET') {
  675. $u = (int)$_GET[u];
  676. } else {
  677. $u = (int)$_POST[u];
  678. }
  679.  
  680.  
  681. if ($_SERVER[REQUEST_METHOD] == 'POST') {
  682. unset( $rerr );
  683.  
  684. if (!( preg_match( '/^[a-zA-Z0-9]{7,16}$/', $_POST[upass], $tdump ))) {
  685. $rerr[] = 'Ïàðîëü äîëæåí ñîäåðæàòü îò 7 äî 16 àíãë. ñèìâîëîâ, öèôð';
  686. }
  687.  
  688. if (!( preg_match( '/^[0-9]{12}$/', $_POST[uwmz], $tdump ))) {
  689. $rerr[] = 'WMZ êîøåëåê óêàçàí íå âåðíî! Äîëæíî áûòü óêàçàíî 12 öèôð';
  690. }
  691.  
  692. $pclick = (double)$_POST[pclick];
  693.  
  694. if (preg_match( '/[\/\\\'"`,\=\<\>\*\;\(\+]/', $_POST[uemail] )) {
  695. $_POST[email] = '';
  696. }
  697.  
  698. if ($_POST[uemail] != '') {
  699. if (!( preg_match( '/[\'\w_-]+(\.[\'\w_-]+)*@[\'\w_-]+(\.[\'\w_-]+)*\.[a-zA-Z]{2,4}/i', $_POST[uemail] ))) {
  700. $rerr[] = 'Email ââåäåí íåâåðíî!';
  701. }
  702. } else {
  703. $rerr[] = 'Email ââåäåí íåâåðíî!';
  704. }
  705.  
  706.  
  707. if ($_POST[status] == 1) {
  708. $status = 1;
  709. } else {
  710. $status = 0;
  711. }
  712.  
  713.  
  714. if (!( isset( $rerr ))) {
  715. mysql_query( 'update pusers set upass=\'' . $_POST[upass] . '\',uemail=\'' . $_POST[uemail] . '\',uwmz=\'' . $_POST[uwmz] . '\',ustatus=\'' . $status . '\',cprice=\'' . $pclick . '\' where puid=\'' . $u . '\'' );
  716. echo '<center><b>Èçìåíåíî!</b><br><br>';
  717. }
  718.  
  719. if (isset( $rerr )) {
  720. $tz = sizeof( $rerr );
  721. echo '<center><b>Íàéäåíî ' . $tz . ' îøèáêè!<br></center></b>';
  722.  
  723. for ($z = 0; $z < $tz; ++$z) {
  724. echo '- ' . $rerr[$z] . '<br>';
  725. }
  726.  
  727. echo '<br>';
  728. }
  729. }
  730.  
  731. if (0 < $u) {
  732. $sql = mysql_query( 'select * from pusers where puid=\'' . $u . '\'' );
  733. $arr = mysql_fetch_array( $sql );
  734. echo ' <form method=post action=tindex.php>
  735. <input type=hidden name=q value=\'partner\'>
  736. <input type=hidden name=w value=\'users\'>
  737. <input type=hidden name=u value=\'';
  738. echo $u;
  739. echo '\'>
  740. <center><b>Ðåäàêòèðîâàíèå ïîëüçîâàòåëÿ ';
  741. echo $arr[uname];
  742. echo '<br><br>
  743. Password:<br>
  744. <input name=upass value=\'';
  745. echo $arr[upass];
  746. echo '\'><br>
  747. Email:<br>
  748. <input name=uemail value=\'';
  749. echo $arr[uemail];
  750. echo '\'><br>
  751. WMZ êîøåëåê:<br>
  752. Z<input name=uwmz value=\'';
  753. echo $arr[uwmz];
  754. echo '\'><br>
  755. Öåíà çà êëèê (èíäèâèäóëüíàÿ):<br>
  756. <input name=pclick size=5 value=\'';
  757. echo $arr[cprice];
  758. echo '\'>$<br>
  759. Ñòàòóñ:<br>
  760. <select name=status>
  761. <option value=0 ';
  762.  
  763. if ($arr[ustatus] == 0) {
  764. echo 'selected';
  765. }
  766.  
  767. echo '>Àêòèâíûé</option>
  768. <option value=1 ';
  769.  
  770. if ($arr[ustatus] == 1) {
  771. echo 'selected';
  772. }
  773.  
  774. echo '>Çàáàíèòü</option>
  775. </select><br>
  776. <input type=submit class=\'button\' value=\'Èçìåíèòü\'>
  777. </form>
  778.  
  779.  
  780.  
  781.  
  782.  
  783. <center><a href=\'tindex.php?q=partner&w=users\'>Íàçàä</a>
  784. ';
  785. exit( );
  786. }
  787.  
  788. $sql = mysql_query( 'select count(*) from pusers' );
  789. $user = mysql_result( $sql, 0, 0 );
  790. $page = (int)$_GET[page];
  791.  
  792. if ($page == 0) {
  793. $page = 1;
  794. }
  795.  
  796. $perpage = 100;
  797. $mpage = (int)$user / $perpage;
  798.  
  799. if (0 < $user % $perpage) {
  800. ++$mpage;
  801. }
  802.  
  803. $start = ( $page - 1 ) * $perpage;
  804. echo ' <table border="0" width=90% align=center cellpadding="5" cellspacing="3">
  805. <tr>
  806. <td width="10%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>ID</b></td>
  807. <td width="15%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Ïîëüçîâàòåëü</b></td>
  808. <td width="15%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>E-Mail</b></td>
  809. <td width="10%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>WMZ</b></td>
  810. <td width="10%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>IP-àäðåñ</b></td>
  811. <td width="10%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Êëèêè</b></td>
  812. <td width="10%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b>Âèçèòû</b></td>
  813. <td width="5%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b></b></td>
  814. <td width="5%" class=norm bgcolor="#497498" style=\'color:#ffffff\'><center><b></b></td>
  815. </tr>
  816.  
  817. ';
  818. $sql = mysql_query( 'select * from pusers ORDER BY puid DESC LIMIT ' . $start . ',' . $perpage );
  819.  
  820. while ($arr = mysql_fetch_array( $sql )) {
  821. echo ' <tr>
  822. <td width="10%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  823. echo $arr[puid];
  824. echo '</b></td>
  825. <td width="15%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  826. echo $arr[uname];
  827. echo '</b></td>
  828. <td width="15%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  829. echo $arr[uemail];
  830. echo '</b></td>
  831. <td width="10%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  832. echo $arr[bwmz];
  833. echo '$</b></td>
  834. <td width="10%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  835. echo long2ip( $arr[uip] );
  836. echo '</b></td>
  837. <td width="10%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  838. echo $arr[dclik] . '/' . $arr[tclik];
  839. echo '</b></td>
  840. <td width="10%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b>';
  841. echo $arr[tph] . '/' . $arr[dph];
  842. echo '</b></td>
  843. <td width="5%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b><a href=\'tindex.php?q=partner&w=users&u=';
  844. echo $arr[puid];
  845. echo '\'><img src=\'../images/edit.gif\' border=0></a></b></td>
  846. <td width="5%" class=norm bgcolor="#fafafa" style=\'color:#000000\'><center><b><a href=\'tindex.php?q=partner&w=trans&u=';
  847. echo $arr[puid];
  848. echo '\'>T</a></b></td>
  849.  
  850. </tr>
  851.  
  852. ';
  853. }
  854.  
  855. echo '</table><br><br>| ';
  856.  
  857. for ($z = 1; $z <= $mpage; ++$z) {
  858. if ($z == $page) {
  859. echo $z;
  860. echo ' | ';
  861. continue;
  862. }
  863.  
  864. echo '<a href=\'tindex.php?q=users&w=clicks&page=' . $z . '\'>' . $z . '</a> | ';
  865. }
  866.  
  867. exit( );
  868. }
  869.  
  870. echo ' <center><b>Îáùàÿ ñòàòèñòèêà:</b><br><br>
  871. Ïåðåõîäîâ çà ñåãîäíÿ: ';
  872. echo $dclik;
  873. echo '<br>
  874. Ïåðåõîäîâ çà âñåãî: ';
  875. echo $tclik;
  876. echo ' <br><br>
  877.  
  878. Êëèêîâ çà ñåãîäíÿ: ';
  879. echo $tph;
  880. echo ' <br>
  881. Êëèêîâ âñåãî : ';
  882. echo $dph;
  883. echo ' <br><br>
  884.  
  885. Çàðàáîòàíî ïîëüçîâàòåëÿìè: ';
  886. echo $ubalance;
  887. echo '$<br><br>
  888.  
  889. Êëèêîâ íà îáìåííèêè: <a href=\'tindex.php?q=partner&w=clicks\'>';
  890. echo $nwork;
  891. echo '</a>
  892.  
  893. ';
  894. exit( );
  895. }
  896.  
  897. if (!( ( !( $_GET[q] == 'settings' ) && !( $_POST[q] == 'settings' ) ))) {
  898. if ($_POST[z] == 'meloch') {
  899. $m2 = (double)$_POST[melochz];
  900. mysql_query( 'update settings set value=\'' . $m2 . '\' where xname=\'melochz\'' );
  901. }
  902.  
  903. if ($_POST[z] == 'melochx') {
  904. $m2 = (double)$_POST[melochz];
  905. mysql_query( 'update settings set value=\'' . $m2 . '\' where xname=\'melochx\'' );
  906. }
  907.  
  908. if ($_POST[z] == 'news_count') {
  909. $m2 = (double)$_POST[news_count];
  910. mysql_query( 'update settings set value=\'' . $m2 . '\' where xname=\'news_count\'' );
  911. }
  912.  
  913. if ($_POST[z] == 'news_per_page') {
  914. $m2 = (double)$_POST[news_per_page];
  915. mysql_query( 'update settings set value=\'' . $m2 . '\' where xname=\'news_per_page\'' );
  916. }
  917.  
  918. if ($_POST[z] == 'promo') {
  919. $m2 = htmlspecialchars( $_POST[promo] );
  920. mysql_query( 'update settings set value=\'' . $m2 . '\' where xname=\'promo\'' );
  921. }
  922.  
  923. if ($_POST[z] == 'partner') {
  924. $m2 = (double)$_POST[price];
  925. mysql_query( 'update settings set value=\'' . $m2 . '\' where xname=\'partner\'' );
  926. }
  927.  
  928. if ($_POST[z] == 'minpayout') {
  929. $m2 = (double)$_POST[payout];
  930. mysql_query( 'update settings set value=\'' . $m2 . '\' where xname=\'minpayout\'' );
  931. } else {
  932. if ($_SERVER[REQUEST_METHOD] == 'POST') {
  933. if ($_POST[z] == 'pass') {
  934. unset( $rerr );
  935.  
  936. if (!( ( ( !preg_match( '/[\/\\\'"`,\.]/', $_POST[pass] ) && !( strlen( $_POST[pass] ) < 3 ) ) && !( 255 < strlen( $_POST[pass] ) ) ))) {
  937. $rerr = '<br><b><center>Ïîëå òåêóùèé ïàðîëü íåêîððåêòíî</center></b>';
  938. }
  939.  
  940. if (!( ( ( !preg_match( '/[\/\\\'"`,\.]/', $_POST[passx] ) && !( strlen( $_POST[passx] ) < 3 ) ) && !( 255 < strlen( $_POST[passx] ) ) ))) {
  941. $rerr = '<br><b><center>Ïîëå íîâûé ïàðîëü íåêîððåêòíî</center></b>';
  942. }
  943.  
  944. if (!( ( ( !preg_match( '/[\/\\\'"`,\.]/', $_POST[passz] ) && !( strlen( $_POST[passz] ) < 3 ) ) && !( 255 < strlen( $_POST[passz] ) ) ))) {
  945. $rerr = '<br><b><center>Ïîëå òåêóùèé ïàðîëü (ïîâòîð) íåêîððåêòíî</center></b>';
  946. }
  947.  
  948. if ($_POST[passx] != $_POST[passz]) {
  949. $rerr = 'Ïàðîëè íå ñîâïàäàþò!';
  950. }
  951.  
  952. if (@decrypt( @base64_decode( $admpass ), $superpass ) != $_POST[pass]) {
  953. $rerr = '<b><center>Ïàðîëü íå âåðåí!</center></b><br>';
  954. }
  955.  
  956. if (!( isset( $rerr ))) {
  957. $fpass = base64_encode( encrypt( $_POST[passx], $superpass ) );
  958.  
  959. if (!( mysql_query( 'UPDATE settings set value=\'' . $fpass . '\' WHERE xname=\'admxname\'' ))) {
  960. exit( );
  961. }
  962.  
  963. echo '<center><b>Ñäåëàíî!</b></center>';
  964. exit( );
  965. }
  966.  
  967. echo $rerr;
  968. }
  969. }
  970. }
  971.  
  972. echo '<center>Èçìåíèòü ïàðîëü àäìèíèñòðàòîðà:<br><br>
  973. <form method=post action=\'tindex.php\'>
  974. <input type=hidden name=q value=settings>
  975. <input type=hidden name=z value=pass>
  976. Òåêóùèé ïàðîëü:<br>
  977. <input type=password name=pass><br>
  978. Íîâûé ïàðîëü:<br>
  979. <input type=password name=passx><br>
  980. Íîâûé ïàðîëü (ïîâòîð):<br>
  981. <input type=password name=passz><br>
  982. <input type=submit class=\'button\' value=\'Ñîõðàíèòü\'>
  983. </form><br>
  984. ';
  985. $sql = mysql_query( 'select value from settings where xname=\'melochz\'' );
  986. $m2 = mysql_result( $sql, 0, 0 );
  987. $sql = mysql_query( 'select value from settings where xname=\'melochx\'' );
  988. $m1 = mysql_result( $sql, 0, 0 );
  989. $sql = mysql_query( 'select value from settings where xname=\'partner\'' );
  990. $price = mysql_result( $sql, 0, 0 );
  991. $sql = mysql_query( 'select value from settings where xname=\'minpayout\'' );
  992. $minpayout = mysql_result( $sql, 0, 0 );
  993. $sql = mysql_query( 'select value from settings where xname=\'news_count\'' );
  994. $news_count = mysql_result( $sql, 0, 0 );
  995. $sql = mysql_query( 'select value from settings where xname=\'news_per_page\'' );
  996. $news_per_page = mysql_result( $sql, 0, 0 );
  997. $sql = mysql_query( 'select value from settings where xname=\'promo\'' );
  998. $promo = mysql_result( $sql, 0, 0 );
  999. echo ' <script type="text/javascript" src="FCKeditor/edit_text.js" ></script>
  1000.  
  1001. <form method=post action=\'tindex.php\'>
  1002. <input type=hidden name=q value=settings>
  1003. <input type=hidden name=z value=meloch>
  1004. Ñóììà ìåëî÷è êóðñîâ:<br>
  1005. <input name=melochz size=7 value=\'';
  1006. echo $m2;
  1007. echo '\'><br>
  1008. <input type=submit class=\'button\' size=7 value=\'Èçìåíèòü\'>
  1009. </form>
  1010.  
  1011.  
  1012. <center>Ñóììà ìåëî÷è ëó÷øèõ êóñðîâ(ãë.ñòð.)</center>
  1013. <form method=post action=\'tindex.php\'>
  1014. <input type=hidden name=q value=settings>
  1015. <input type=hidden name=z value=melochx>
  1016. <input name=melochz size=7 value=\'';
  1017. echo $m1;
  1018. echo '\'><br>
  1019. <input type=submit class=\'button\' size=7 value=\'Èçìåíèòü\'>
  1020. </form>
  1021.  
  1022.  
  1023.  
  1024. <form method=post action=\'tindex.php\'>
  1025. <input type=hidden name=q value=settings>
  1026. <input type=hidden name=z value=partner>
  1027. Ñòîèìîñòü êëèêà äëÿ ïàðòíåðîâ:<br>
  1028. <input name=price size=7 value=\'';
  1029. echo $price;
  1030. echo '\'><br>
  1031. <input type=submit class=\'button\' size=7 value=\'Èçìåíèòü\'>
  1032. </form>
  1033.  
  1034. <form method=post action=\'tindex.php\'>
  1035. <input type=hidden name=q value=settings>
  1036. <input type=hidden name=z value=minpayout>
  1037. Ìèíèìàëüíàÿ ñóììà ê âûïëàòå:<br>
  1038. <input name=payout size=7 value=\'';
  1039. echo $minpayout;
  1040. echo '\'>$<br>
  1041. <input type=submit class=\'button\' size=7 value=\'Èçìåíèòü\'>
  1042. </form>
  1043.  
  1044. <form method=post action=\'tindex.php\'>
  1045. <input type=hidden name=q value=settings>
  1046. <input type=hidden name=z value=news_count>
  1047. Êîëè÷åñòâî íîâîñòåé:<br>
  1048. <input name=news_count size=7 value=\'';
  1049. echo $news_count;
  1050. echo '\'><br>
  1051. <input type=submit class=\'button\' size=7 value=\'Èçìåíèòü\'>
  1052. </form>
  1053.  
  1054. <form method=post action=\'tindex.php\'>
  1055. <input type=hidden name=q value=settings>
  1056. <input type=hidden name=z value=news_per_page>
  1057. Êîëè÷åñòâî íîâîñòåé íà ñòðàíèöå àðõèâà:<br>
  1058. <input name=news_per_page size=7 value=\'';
  1059. echo $news_per_page;
  1060. echo '\'><br>
  1061. <input type=submit class=\'button\' size=7 value=\'Èçìåíèòü\'>
  1062. </form>
  1063.  
  1064. <form method=post name="form_promo" action=\'tindex.php\'>
  1065. <input type=hidden name=q value=settings>
  1066. <input type=hidden name=z value=promo>
  1067. Ïðîìî-ìàòåðèàëû äëÿ ïàðòíåðñêîé ïðîãðàììû:<br>
  1068. <a href="javascript:edit_text(\'form_promo\',\'promo\');">Ðåäàêòîð</a><br>
  1069. <textarea name=promo cols=35 rows=4></textarea><br>
  1070. <input type=submit class=\'button\' size=7 value=\'Èçìåíèòü\'>
  1071. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement