PHP.SU

Программирование на PHP, MySQL и другие веб-технологии
PHP.SU Портал     На главную страницу форума Главная     Помощь Помощь     Поиск Поиск     Поиск Яндекс Поиск Яндекс     Вакансии  Пользователи Пользователи

Страниц (17): В начало « ... 9 10 11 12 13 [14] 15 16 17 »

> Найдено сообщений: 248
ridvik Отправлено: 02 Марта, 2012 - 14:01:00 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
где?
ridvik Отправлено: 02 Марта, 2012 - 13:38:22 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
хорошо, но я с одним разговаривал тоже он возьмет 1000-1200
ridvik Отправлено: 02 Марта, 2012 - 13:32:34 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
моих тоже Радость
ridvik Отправлено: 02 Марта, 2012 - 13:29:17 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
я скинуться не проч, но я сам хочу попробовать ее написать...
ridvik Отправлено: 02 Марта, 2012 - 13:21:16 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
это программа такая, скрины из программы Радость
ridvik Отправлено: 02 Марта, 2012 - 12:54:56 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
Hidalgo у меня все тоже самое реализовано Радость а вот дальше увы, как реализовывать не знаю, мне сказали что надо реализовывать типо деревом, дочерними ссылками. но я не знаю как мне саму таблицу генерировать, рисовать...
ridvik Отправлено: 02 Марта, 2012 - 09:28:49 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
я спрашивал на счет этого, сказали в районе 1000-1200. Вот такая структура:
http://kasseler-cms[dot]net/forum/sh[dot][dot][dot]wtopic/4118[dot]html
ridvik Отправлено: 01 Марта, 2012 - 13:51:26 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
опять же, его надо будет переделывать под себя, т.к. я более чем уверен движки мы используем разные..
ridvik Отправлено: 28 Февраля, 2012 - 18:51:05 • Тема: Скрипт турнирной сетки. • Форум: Напишите за меня, пожалуйста

Ответов: 66
Просмотров: 816
Hidalgo помогите доделать данный скрипт, а то я все что хотел реализовал, а вот с этим конкретная беда....
ridvik Отправлено: 23 Февраля, 2012 - 07:59:35 • Тема: дата из бд • Форум: JavaScript & VBScript

Ответов: 13
Просмотров: 2345
есть еще какие-нить идеи???
ridvik Отправлено: 21 Февраля, 2012 - 18:24:24 • Тема: дата из бд • Форум: JavaScript & VBScript

Ответов: 13
Просмотров: 2345
CODE (html):
скопировать код в буфер обмена
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.  
  5. <head>
  6.  
  7. <title>time @ Kasseler CMS MOD</title>
  8.  
  9. <meta http-equiv='content-type' content='text/html; charset=utf-8' />
  10. <meta name='author' content='Kasseler CMS MOD' />
  11. <meta name='copyright' content='Copyright (c) Kasseler CMS 2.2' />
  12. <meta name='resource-type' content='document' />
  13. <meta name='document-state' content='dynamic' />
  14. <meta name='distribution' content='global' />
  15. <meta name='robots' content='index, follow' />
  16. <meta name='revisit-after' content='1 days' />
  17. <meta name='rating' content='general' />
  18. <meta name='generator' content='Kasseler CMS 2.2' />
  19. <meta name='description' content='Сайт построен на системе Kasseler CMS' />
  20. <meta name='keywords' content='Kasseler CMS, Forum,  Движок, PHP, Дизайн' />
  21. <base href='http://localhost/' />
  22.  
  23. <link rel='shortcut icon' href='http://localhost/favicon.ico' type='image/x-icon' />
  24. <link rel='stylesheet' href='templates/DiNaMiT PoRTaL/style.css' type='text/css' />
  25. <link rel='stylesheet' href='includes/css/system.css' type='text/css' />  
  26.  
  27. </head>
  28.  
  29. <body class="page_bg">
  30.  
  31. <script type='text/javascript' src='includes/javascript/jquery/jquery.js'></script>
  32. <script type='text/javascript' src='includes/javascript/kr_ajax.js'></script>
  33. <script type='text/javascript' src='includes/javascript/function.js'></script>
  34. <script type='text/javascript' src='includes/language/russian/lang.js'></script>
  35.  
  36.  
  37.  
  38. <script type="text/javascript" src="includes/up/scrolltopcontrol.js"></script>
  39.  
  40. <script type="text/javascript" language="javascript">
  41.  
  42. function ShowOrHide(id) {
  43.  
  44. var block = document.getElementById(id).style;
  45.  
  46. if (block.display == 'none') {block.display = 'block';} else {block.display = 'none';}
  47.  
  48. }
  49.  
  50. </script>
  51.  
  52.  
  53.  
  54. <div class="wrapper">
  55.  
  56. <div id="toptop"><div class="dleft"><div class="dright">
  57.  
  58. <div class="loginform">
  59.  
  60. </div>
  61.  
  62. <div class="topicons">
  63.  
  64. </div></div></div></div>
  65.  
  66. <div id="tophead"><div class="dleft"><div class="dright">
  67.  
  68. <span class="img"><img src="templates/DiNaMiT PoRTaL/images/logotip.png" ></a></span>
  69.  
  70. </div></div></div>
  71.  
  72. <div id="menuhead2"><div class="dleft"><div class="drifht"><span>
  73.  
  74. <a id='menuhead_home' class='noac' href='http://localhost' title='Главная'><b>Главная</b></a>
  75.  
  76. <a id='menuhead_account' class='noac' href='http://localhost/index.php?module=account' title='Профиль'><b>Профиль</b></a>
  77.  
  78. <a id='menuhead_news' class='noac' href='http://localhost/index.php?module=news' title='Новости'><b>Новости</b></a>
  79.  
  80. <a id='menuhead_files' class='noac' href='http://localhost/index.php?module=files/categoryes.html' title='Файлы'><b>Файлы</b></a>
  81.  
  82. <a id='menuhead_forum' class='noac' href='http://localhost/index.php?module=forum' title='Форум'><b>Форум</b></a></span></div></div></div>
  83.  
  84. <script type='text/javascript'>
  85.  
  86. <!--
  87.  
  88. var mids = ['menuhead_home', 'menuhead_account', 'menuhead_news', 'menuhead_recommend', 'menuhead_contact'], active = '';
  89.  
  90. all_blur = function(){for(i=0;i<mids.length;i++) $$(mids[i]).className='noac'}
  91.  
  92. for(i=0;i<mids.length;i++) if($$(mids[i]).className=='ac') active=mids[i];
  93.  
  94. for(i=0;i<mids.length;i++){
  95.  
  96. $$(mids[i]).onmouseover = function(){all_blur(); this.className='ac';}
  97.  
  98. $$(mids[i]).onmouseout = function(){if($$(active)) $$(active).className='ac'; if(active!=this.id) this.className='noac';}
  99.  
  100. $$(mids[i]).onmousedown = function(){active=this.id}
  101.  
  102. }
  103.  
  104. // -->
  105.  
  106. </script>
  107.  
  108. <div id="bodypage"><div class="dleft"><div class="dright"><div class="container">
  109.  
  110. <table width='100%' cellpadding="0" cellspacing="0">
  111.  
  112. <tr>
  113.  
  114. <td id='leftcol' valign='top'><div id='blockid_2'><div class="block"><div class="dbottom"><div class="dtop"><h3><center>Администрация</center></h3></div><div class="dcont">» <a href='admin.php' title='Администрирование'>Администрирование</a>
  115. » <a href='admin.php?module=logout'>Выход</a>
  116. <hr /><div class='monitoring'>
  117.  
  118. <table cellspacing='2' cellpadding='0' width='100%'>
  119.  
  120. <tr class='pointer' onclick="switcher('admin_online');"><td><img src='includes/images/16x16/plus.png' style='margin:0px; position: relative; top: 6px;' alt='' align='left' /><img src='includes/images/16x16/admin.png' alt='' align='left' />Админов<span> (1) </span></td></tr>
  121.  
  122. <tr id='admin_online' style='display:none;'><td><table cellspacing='0' cellpadding='2' width='100%'><tr><td><a href='http://localhost/index.php?module=top_users&do=country&id=default' title='Посмотреть всех пользователей этого региона'><img src='includes/images/country/default.png' align="left" alt='default' title='default' /></a><a style='color:#dd0000;' href='http://localhost/index.php?module=account&do=user&id=26' id='info_Admin' onmouseover="show_userinfo(this, '26')">Admin</a></td><td align='right'><a href='/index.php?module=time'>time</a></td></tr>
  123. </table><hr /></td></tr>
  124.  
  125. </table>
  126.  
  127. <table cellspacing='2' cellpadding='0' width='100%'>
  128.  
  129. <tr class='pointer' onclick="switcher('user_online');"><td><img src='includes/images/16x16/plus.png' style='margin:0px; position: relative; top: 6px;' alt='' align='left' /><img src='includes/images/16x16/user.png' alt='' align='left' />Пользователей<span> (0) </span></td></tr>
  130.  
  131. <tr id='user_online' style='display:none;'><td></td></tr>
  132.  
  133. </table>
  134.  
  135. <table cellspacing='2' cellpadding='0' width='100%'>
  136.  
  137. <tr class='pointer' onclick="switcher('bots_online');"><td><img src='includes/images/16x16/plus.png' style='margin:0px; position: relative; top: 6px;' alt='' align='left' /><img src='includes/images/16x16/bot.png' alt='' align='left' />Ботов<span> (0) </span></td></tr>
  138.  
  139. <tr id='bots_online' style='display:none;'><td></td></tr>
  140.  
  141. </table>
  142.  
  143. <table cellspacing='2' cellpadding='0' width='100%'>
  144.  
  145. <tr class='pointer' onclick="switcher('guest_online');"><td><img src='includes/images/16x16/plus.png' style='margin:0px; position: relative; top: 6px;' alt='' align='left' /><img src='includes/images/16x16/guest.png' alt='' align='left' />Гостей<span> (0) </span></td></tr>
  146.  
  147. <tr id='guest_online' style='display:none;'><td></td></tr>
  148.  
  149. </table>
  150.  
  151. <table cellspacing='2' cellpadding='0' width='100%'>
  152.  
  153. <tr><td style='padding-left: 12px;'><img src='includes/images/16x16/allonline.png' alt='' align='left' />Всего<span> (1) </span></td></tr>
  154.  
  155. </table>
  156.  
  157. </div></div></div></div>
  158. </div>
  159. <div id='blockid_4'><div class="block"><div class="dbottom"><div class="dtop"><h3><center>Меню пользователя</center></h3></div><div class="dcont"><div align='center'><b>Здравствуйте, <a href='http://localhost/index.php?module=account&do=user&id=26' title='Просмотр профиля'>Admin</a></b><hr /><img id='avatar' class='img_avatar' src='uploads/avatars/animation/28 (3).gif' alt='Ваша аватара' title='Ваша аватара' /></div>
  160.  
  161. <hr /><a href='http://localhost/index.php?module=account&do=logout' title='Выход'><img src='includes/images/blocks/logout.png' alt='' title='Выход' align='left' style='margin-right: 3px;' /> Выход</a><div class='monitoring'><hr />
  162.  
  163. <table cellspacing='2' cellpadding='0' width='100%'>
  164.  
  165. <tr><td><img src='includes/images/16x16/admin.png' alt='' align='left' />Админов<span> (1) </span></td></tr>
  166.  
  167. <tr><td><img src='includes/images/16x16/user.png' alt='' align='left' />Пользователей<span> (0) </span></td></tr>
  168.  
  169. <tr><td><img src='includes/images/16x16/bot.png' alt='' align='left' />Ботов<span> (0) </span></td></tr>
  170.  
  171. <tr><td><img src='includes/images/16x16/guest.png' alt='' align='left' />Гостей<span> (0) </span></td></tr>
  172.  
  173. <tr><td><img src='includes/images/16x16/allonline.png' alt='' align='left' />Всего<span> (0) </span></td></tr>
  174.  
  175. <tr><td><hr /><img src='includes/images/16x16/plus.png' style='margin:0px; position: relative; top: 6px;' alt='' align='left' /><a href='#' onclick="switcher('list_online'); return false;">Список онлайн</a><div id='list_online' style='display:none;'></div></td></tr>
  176.  
  177. </table><hr></div></div></div></div>
  178. </div>
  179. <div id='blockid_11'></div>
  180. <div id='blockid_1'><div class="block"><div class="dbottom"><div class="dtop"><h3><center>Навигация</center></h3></div><div class="dcont"><ul class='navs'>
  181. <li><a href='http://localhost/' title='Главная'>Главная</a></li>
  182. <li><a class='modules_menu' href='http://localhost/index.php?module=news' title='Новости'>Новости</a></li>
  183. <li><a class='modules_menu' href='http://localhost/index.php?module=top_users' title='Топ пользователей'>Топ пользователей</a></li>
  184. <li><a class='modules_menu' href='http://localhost/index.php?module=chat' title='Чат'>Чат</a></li>
  185. <li><a class='modules_menu' href='http://localhost/index.php?module=medal' title='Награды'>Награды</a></li>
  186. <li><a class='modules_menu' href='http://localhost/index.php?module=stats' title='Статистика'>Статистика</a></li>
  187. <li><a class='modules_menu' href='http://localhost/index.php?module=setka' title='Сетка'>Сетка</a></li>
  188. <li><a class='modules_menu' href='http://localhost/index.php?module=web_icq' title='web_icq'>web_icq</a></li>
  189. <li><a class='modules_menu' href='http://localhost/index.php?module=addadmin' title='addadmin'>addadmin</a></li>
  190. <li><a class='modules_menu' href='http://localhost/index.php?module=complain' title='complain'>complain</a></li>
  191. <li><a class='modules_menu' href='http://localhost/index.php?module=addtournaments' title='addtournaments'>addtournaments</a></li>
  192. <li><a class='modules_menu' href='http://localhost/index.php?module=tournaments' title='tournaments'>tournaments</a></li>
  193. <li><a class='modules_menu' href='http://localhost/index.php?module=system_turnir' title='system_turnir'>system_turnir</a></li>
  194. <li><a class='modules_menu' href='http://localhost/index.php?module=cp' title='cp'>cp</a></li>
  195. <li><a class='modules_menu' href='http://localhost/index.php?module=rules' title='rules'>rules</a></li>
  196. <li><a class='modules_menu' href='http://localhost/index.php?module=table' title='table'>table</a></li>
  197. <li><a class='modules_menu' href='http://localhost/index.php?module=teams2' title='teams2'>teams2</a></li>
  198. <li><a class='modules_menu' href='http://localhost/index.php?module=setka3' title='setka3'>setka3</a></li>
  199. <li><a class='modules_menu' href='http://localhost/index.php?module=setka4' title='setka4'>setka4</a></li>
  200. <li><a class='modules_menu' href='http://localhost/index.php?module=setka7' title='setka7'>setka7</a></li>
  201. <li><a class='modules_menu' href='http://localhost/index.php?module=reglament' title='reglament'>reglament</a></li>
  202. <li><a class='modules_menu' href='http://localhost/index.php?module=time' title='time'>time</a></li>
  203. <li><a class='modules_menu' href='http://localhost/index.php?module=bags' title='bags'>bags</a></li>
  204. <li><a class='modules_menu' href='http://localhost/index.php?module=mobile' title='mobile'>mobile</a></li>
  205. <li><a class='modules_menu' href='http://localhost/index.php?module=test' title='test'>test</a></li>
  206. <li><a class='modules_menu' href='http://localhost/index.php?module=game_schedule' title='game_schedule'>game_schedule</a></li>
  207. <li><a class='modules_menu' href='http://localhost/index.php?module=teams' title='teams'>teams</a></li>
  208. <li><a class='modules_menu' href='http://localhost/index.php?module=ava' title='ava'>ava</a></li>
  209. <li><a class='modules_menu' href='http://localhost/index.php?module=text' title='text'>text</a></li>
  210. <li><a class='modules_menu' href='http://localhost/index.php?module=banlist' title='banlist'>banlist</a></li>
  211. <li><a class='modules_menu' href='http://localhost/index.php?module=setka_admin' title='setka_admin'>setka_admin</a></li>
  212. <li><a class='modules_menu' href='http://localhost/index.php?module=setka_by_ridvik' title='setka_by_ridvik'>setka_by_ridvik</a></li>
  213. </ul></div></div></div>
  214. </div>
  215. <div id='blockid_3'></div>
  216. <div id='blockid_5'></div>
  217. <div id='blockid_21'><div class="block"><div class="dbottom"><div class="dtop"><h3><center>Нас пингуют</center></h3></div><div class="dcont"><table width='100%'><tr><td width='25px'><a href='http://localhost/index.php?module=top_users&do=country&id=United%20States' title='Посмотреть всех пользователей этого региона'><img src='includes/images/country/united_states.png' align="left" alt='United States' title='United States' /></a></td><td>Google</td><td align='right'>21.02.2012</td></tr>
  218. <tr><td width='25px'><a href='http://localhost/index.php?module=top_users&do=country&id=Russian%20Federation' title='Посмотреть всех пользователей этого региона'><img src='includes/images/country/russian_federation.png' align="left" alt='Russian Federation' title='Russian Federation' /></a></td><td>Yandex</td><td align='right'>16.02.2012</td></tr>
  219. </table></div></div></div>
  220. </div>
  221. </td>
  222.  
  223. <td valign='top' id="maincol"><div id='home_message'></div> <div id='blockid_22'><div class="sbox"><div class="sbox_t"><div class="sbox_b"><div class="sbox_l"><div class="sbox_r"><div class="sbox_atl"><div class="sbox_atr"><div class="sbox_abl"><div class="sbox_abr"><div class="sbox_pad" style='padding: 3px;'>
  224.  
  225. <h3>Команда</h3>&#65279;<div class="sbox"><div class="sbox_t"><div class="sbox_b"><div class="sbox_l"><div class="sbox_r"><div class="sbox_atl"><div class="sbox_atr"><div class="sbox_abl"><div class="sbox_abr"><div class="sbox_pad" style='padding: 3px;'>                  <table width='100%'><tr><td>
  226.  
  227.                 <b>Ваша команда: </b> <font color='green'><b>KINGS</b></font>
  228.                  Если есть какие-то недочеты, относительно данного блока и модуля <b>команды</b> просьба отписать мне в пм.
  229.  
  230.                 </td><td align=right>
  231.  
  232.                 Покинуть команду <form method='POST'><input type='image' name='logout' value='logout' src='uploads/images/logout.png' width='50px' height='50px' /></form>
  233.  
  234.                 </tr></table>
  235.  
  236.                 </div></div></div></div></div></div></div></div></div></div>
  237.  
  238. </div></div></div></div></div></div></div></div></div></div></div>
  239. <div id='blockid_17'><div class="sbox"><div class="sbox_t"><div class="sbox_b"><div class="sbox_l"><div class="sbox_r"><div class="sbox_atl"><div class="sbox_atr"><div class="sbox_abl"><div class="sbox_abr"><div class="sbox_pad sbox_p" style='padding: 3px;'>
  240.  
  241. <table class='block_table' width='100%' cellpadding='3' cellspacing='1'><tr>
  242. <th>Темы</th>
  243. <th width='100'>Автор</th>
  244. <th width='20'>Пр.</th>
  245. <th width='20'>От.</th>
  246. <th width='100'>Последний</th></tr>
  247. <tr class='row1'>
  248. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=81' title='Gam[E]Play CS:Source Publik Server #1'>Gam[E]Play CS:Source Publik Server #1</a></td>
  249. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=247' title='Просмотр профиля'>Kesha</a></td>
  250. <td align='center'>104</td>
  251. <td class='cols'>15</td>
  252. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=26' title='Просмотр профиля'>Admin</a></td>
  253. </tr><tr class='row2'>
  254. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=50' title='Техно поддержка CS:S серверов'>Техно поддержка CS:S серверов</a></td>
  255. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=1' title='Просмотр профиля'>RiDViK-94</a></td>
  256. <td align='center'>132</td>
  257. <td class='cols'>9</td>
  258. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=26' title='Просмотр профиля'>Admin</a></td>
  259. </tr><tr class='row1'>
  260. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=72' title='Lineage II сервер'>Lineage II сервер</a></td>
  261. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=1' title='Просмотр профиля'>RiDViK-94</a></td>
  262. <td align='center'>175</td>
  263. <td class='cols'>16</td>
  264. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=248' title='Просмотр профиля'>scr1m</a></td>
  265. </tr><tr class='row2'>
  266. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=51' title='Как создать сайт своими руками!'>Как создать сайт своими руками!</a></td>
  267. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=1' title='Просмотр профиля'>RiDViK-94</a></td>
  268. <td align='center'>147</td>
  269. <td class='cols'>4</td>
  270. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=248' title='Просмотр профиля'>scr1m</a></td>
  271. </tr><tr class='row1'>
  272. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=71' title='Что не хватает сайту?'>Что не хватает сайту?</a></td>
  273. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=1' title='Просмотр профиля'>RiDViK-94</a></td>
  274. <td align='center'>40</td>
  275. <td class='cols'>1</td>
  276. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=248' title='Просмотр профиля'>scr1m</a></td>
  277. </tr><tr class='row2'>
  278. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=66' title='CSS: BATTLE-ZONE SERVER'>CSS: BATTLE-ZONE SERVER</a></td>
  279. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=211' title='Просмотр профиля'>FLAM</a></td>
  280. <td align='center'>166</td>
  281. <td class='cols'>13</td>
  282. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=248' title='Просмотр профиля'>scr1m</a></td>
  283. </tr><tr class='row1'>
  284. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=73' title='Minecraft Server'>Minecraft Server</a></td>
  285. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=110' title='Просмотр профиля'>aiaks</a></td>
  286. <td align='center'>232</td>
  287. <td class='cols'>6</td>
  288. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=248' title='Просмотр профиля'>scr1m</a></td>
  289. </tr><tr class='row2'>
  290. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=61' title='Конкурс на лучшую статью'>Конкурс на лучшую статью</a></td>
  291. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=1' title='Просмотр профиля'>RiDViK-94</a></td>
  292. <td align='center'>33</td>
  293. <td class='cols'>1</td>
  294. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=248' title='Просмотр профиля'>scr1m</a></td>
  295. </tr><tr class='row1'>
  296. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=67' title='Переход на 59 версию'>Переход на 59 версию</a></td>
  297. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=1' title='Просмотр профиля'>RiDViK-94</a></td>
  298. <td align='center'>68</td>
  299. <td class='cols'>9</td>
  300. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=248' title='Просмотр профиля'>scr1m</a></td>
  301. </tr><tr class='row2'>
  302. <td><a class='sys_link' href='http://localhost/index.php?module=forum&do=lastpost&id=52' title='Global Bans & PsychoStats'>Global Bans & PsychoStats</a></td>
  303. <td class='cols'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=1' title='Просмотр профиля'>RiDViK-94</a></td>
  304. <td align='center'>44</td>
  305. <td class='cols'>1</td>
  306. <td align='center'><a class='sys_link' href='http://localhost/index.php?module=account&do=user&id=248' title='Просмотр профиля'>scr1m</a></td>
  307. </tr></table>
  308.  
  309. </div></div></div></div></div></div></div></div></div></div>
  310.  
  311. </div>
  312.  
  313. <!--BEGIN content-->
  314. <div id='ajax_content'>&#65279;-2 Дней 7 Часов 36 Минут 34 Секунд
  315. <html>
  316.  
  317. <head>
  318.  
  319.  
  320.  
  321. <script>
  322.  
  323.  
  324.  
  325. //change the text below to reflect your own,
  326.  
  327. var before="the year 2013!"
  328.  
  329. var current="Today is 2020.  Say hi to your grandchildren!"
  330.  
  331. var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
  332.  
  333.  
  334.  
  335. function countdown(yr,m,d){
  336.  
  337. var today=new Date()
  338.  
  339. var todayy=today.getYear()
  340.  
  341. if (todayy < 1000)
  342.  
  343. todayy+=1900
  344.  
  345. var todaym=today.getMonth()
  346.  
  347. var todayd=today.getDate()
  348.  
  349. var todaystring=montharray[todaym]+" "+todayd+", "+todayy
  350.  
  351. var futurestring=montharray[m-1]+" "+d+", "+yr
  352.  
  353. var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
  354.  
  355. if (difference==0)
  356.  
  357. document.write(current)
  358.  
  359. else if (difference>0)
  360.  
  361. document.write("Only "+difference+" days until "+before)
  362.  
  363. }
  364.  
  365. //enter the count down date using the format year/month/day
  366.  
  367. countdown(2013,1,1)
  368.  
  369. </script>
  370.  
  371.  
  372.  
  373.  
  374.  
  375. </head>
  376.  
  377. <body>
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385. </body>
  386.  
  387. </head>
  388.  
  389. </html>
  390.  
  391.  
  392.  
  393. 02 23 2012 00:00:01
  394.  
  395.  
  396.  
  397. <SCRIPT LANGUAGE="JavaScript">
  398.  
  399. <!-- Original: Steve Dondley (steve@dondley.com) -->
  400.  
  401. <!-- Web Site: http://www.progressivevalley.com -->
  402.  
  403.  
  404.  
  405. <!-- Begin
  406.  
  407.  
  408.  
  409. function getTime() {
  410.  
  411. now = new Date();
  412.  
  413. y2k = new Date("<?=$date?>");
  414.  
  415. days = (y2k - now) / 1000 / 60 / 60 / 24;
  416.  
  417. daysRound = Math.floor(days);
  418.  
  419. hours = (y2k - now) / 1000 / 60 / 60 - (24 * daysRound);
  420.  
  421. hoursRound = Math.floor(hours);
  422.  
  423. minutes = (y2k - now) / 1000 /60 - (24 * 60 * daysRound) - (60 * hoursRound);
  424.  
  425. minutesRound = Math.floor(minutes);
  426.  
  427. seconds = (y2k - now) / 1000 - (24 * 60 * 60 * daysRound) - (60 * 60 * hoursRound) - (60 * minutesRound);
  428.  
  429. secondsRound = Math.round(seconds);
  430.  
  431. sec = (secondsRound == 1) ? " секунда." : " секунд.";
  432.  
  433. min = (minutesRound == 1) ? " минута" : " минут, ";
  434.  
  435. hr = (hoursRound == 1) ? " час" : " часов, ";
  436.  
  437. dy = (daysRound == 1) ? " день" : " дней, ";
  438.  
  439. aa = ":"
  440.  
  441. document.timeForm.input1.value = "Осталось времени: " + daysRound + aa + hoursRound + aa + minutesRound + aa + secondsRound;
  442.  
  443. newtime = window.setTimeout("getTime();", 1000);
  444.  
  445. }
  446.  
  447. // End -->
  448.  
  449. </script>
  450.  
  451.  
  452.  
  453.  
  454.  
  455. <html>
  456.  
  457. <body>
  458.  
  459. <BODY onLoad="getTime()">
  460.  
  461. <center>
  462.  
  463. <form name=timeForm>
  464.  
  465. <input type=text name=input1 size=70 border-style="none" style="border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid;font:12px arial, helvetica,sans-serif">
  466.  
  467. </form>
  468.  
  469. </center>
  470.  
  471. </body>
  472.  
  473. </html>
  474.  
  475.  
  476.  
  477.  
  478.  
  479. <meta http-equiv="Content-Type" content="text/html; Charset=UTF-8">  
  480.  
  481.  
  482.  
  483. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>  
  484.  
  485.  
  486.  
  487. <div id="content">
  488.  
  489. </div>
  490.  
  491.  
  492.  
  493.  
  494.  
  495. <script>
  496.  
  497.    
  498.  
  499.         function show()  
  500.  
  501.        
  502.  
  503. {  
  504.  
  505.            
  506.  
  507. $.ajax({  
  508.  
  509.                
  510.  
  511. url: "index.php",  
  512.  
  513.                
  514.  
  515. cache: false,  
  516.  
  517.                
  518.  
  519. success: function(html){  
  520.  
  521.                     $("#content").html(html);                 }  
  522.  
  523.            
  524.  
  525. });  
  526.  
  527.        
  528.  
  529. }  
  530.  
  531.        
  532.  
  533.        
  534.  
  535. $(document).ready(function(){  
  536.  
  537.             show();  
  538.  
  539.            
  540.  
  541. setInterval('show()',1000);  
  542.  
  543.        
  544.  
  545. });  
  546.  
  547.    
  548.  
  549. </script>
  550.  
  551.  
  552.  
  553.  
  554.  
  555. <font style=color:#ff0000 id=ct1></font>
  556.  
  557.  
  558.  
  559. <script type="text/javascript">
  560.  
  561. var n1=69994;
  562.  
  563. var t1=70000;
  564.  
  565. function c1(){
  566.  
  567. var a1=(t1-n1);
  568.  
  569. if(a1>=1){
  570.  
  571. var d1=(parseInt(a1/(24*60*60)));
  572.  
  573. var sd=a1-d1*24*3600;
  574.  
  575. var h=(parseInt(sd/3600));
  576.  
  577. if(h<10){h='0'+h};
  578.  
  579. var sl=sd-h*3600;
  580.  
  581. var m=(parseInt(sl/60));
  582.  
  583. if(m<10){m="0"+m};
  584.  
  585. var ls=sl-m*60;
  586.  
  587. if(ls<10){ls='0'+ls;}
  588.  
  589. document.getElementById('ct1').innerHTML=h+':'+m+':'+ls;
  590.  
  591. n1++
  592.  
  593. setTimeout('c1()',1000);
  594.  
  595. }
  596.  
  597. else{
  598.  
  599. document.getElementById('ct1').style.color='#00b000';
  600.  
  601. document.getElementById('ct1').innerHTML='online';
  602.  
  603. }
  604.  
  605. }
  606.  
  607. c1();
  608.  
  609. </script></div>
  610. <!--END content-->
  611.  </td>
  612.  
  613. <td id='rightcol' valign='top'><div id='blockid_20'><div class="block2"><div class="dbottom"><div class="dtop"><h3><center>Часы</center></h3></div><div class="dcont"><div align='center'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='150' height='150'>
  614.  
  615. <param name='movie' value='includes/flash/anaclock.swf'>
  616.  
  617. <param name='quality' value='high'>
  618.  
  619. <param name='bgcolor' value='#FFFFFF'>
  620.  
  621. <param name='wmode' value='transparent'>
  622.  
  623. <param name='menu' value='false'>
  624.  
  625. <embed src='includes/flash/anaclock.swf' quality=high bgcolor=#FFFFFF width='150' height='150' wmode='transparent' type='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/go/getflashplayer' menu='false' >
  626.  
  627. </embed></object></div></div></div></div></div>
  628. <div id='blockid_19'></div>
  629. <div id='blockid_18'><div class="block2"><div class="dbottom"><div class="dtop"><h3><center>Мониторинг</center></h3></div><div class="dcont"><!-- Начало GameArmy Информера -->
  630.  
  631. <iframe src="http://www.gamearmy.ru/cgi-bin/monitor/spy.pl?id=56796&border=%23323232&text1=%23FFFFFF&bgcolor=%234E4E4E&text2=%23FFFF00&in=%23383838&text3=%23CCCCCC&w=200&graph=%23F39605&line1=%2380807F&text4=%23CACACA&line2=%234C4C4C" frameborder="0" scrolling="no" width="200" height="164" marginwidth="0" marginheight="0"></iframe></div></div></div></div>
  632. <div id='blockid_6'><div class="block2"><div class="dbottom"><div class="dtop"><h3><center>Наши друзья</center></h3></div><div class="dcont"><center><a href="http://support-it.info" target="_blank" title="Ваша техподдержка!!"><b><img src='http://support-it.info/banner.gif' border='0' alt='Ваша техподдержка!!' /></b></a></center><hr />Связаться с администратором что бы ваш баннер появился на сайте.</div></div></div></div>
  633. <div id='blockid_14'><div class="block2"><div class="dbottom"><div class="dtop"><h3><center>Статистика</center></h3></div><div class="dcont">&#65279;<table width="100%">
  634.  
  635.         <tr><td>Понедельник</td><td align="right">1</td></tr>
  636.  
  637.         <tr><td>Вторник</td><td align="right"><b>1</b></td></tr>
  638.  
  639.         <tr><td>Среда</td><td align="right">0</td></tr>
  640.  
  641.         <tr><td>Четверг</td><td align="right">1</td></tr>
  642.  
  643.         <tr><td>Пятница</td><td align="right">1</td></tr>
  644.  
  645.         <tr><td>Суббота</td><td align="right">1</td></tr>
  646.  
  647.         <tr><td>Воскресенье</td><td align="right">2</td></tr>
  648.  
  649.         <tr><td colspan="2"><HR></td></tr>
  650.  
  651.         <tr><td style="padding-right: 10px; float: left;">Сегодня хитов:</td><td align="right">35</td></tr>
  652.  
  653.         <tr><td style="padding-right: 10px; float: left;">Всего:</td><td align="right">15047</td></tr>
  654.  
  655.         <tr><td style="padding-right: 10px; float: left;">Рекорд:</td><td align="right">570</td></tr>
  656.  
  657.     </table></div></div></div></div>
  658. <div id='blockid_13'><div class="block2"><div class="dbottom"><div class="dtop"><h3><center>Возраст</center></h3></div><div class="dcont">&#65279;<script>
  659. /*
  660. January Январь
  661. February        Февраль
  662. March   Март
  663. April   Апрель
  664. May     Май
  665. June    Июнь
  666. July    Июль
  667. August  Август
  668. September       Сентябрь
  669. October Октябрь
  670. November        Ноябрь
  671. December        Декабрь
  672. */
  673. d0 = new Date("July 1, 2010");
  674. d1 = new Date();
  675. dt = (d1.getTime() - d0.getTime()) / (1000*60*60*24);
  676. document.write("Сайт существует <B>" + Math.round(dt) + "</B>-й день.");
  677. </script></div></div></div></div>
  678. </td>
  679.  
  680. </tr>
  681.  
  682. </table>
  683.  
  684. </div></div></div></div>
  685.  
  686. <div id="footer_us"><div class="dleft"><div class="dright">
  687.  
  688. <div class="count">&nbsp;</div>
  689.  
  690. <!--copyright-->
  691.  
  692. <span class="copyright">Страница сгенерирована за 0.0418 секунд и 6 запросов к базе данных за 0.01041 секунд<br /><b>Copyright &copy;2007-2012 by <a href='http://www.kasseler-cms.net/' target='_BLANK' title='Content Management System'>Kasseler CMS</a>. All rights reserved.</b></span>
  693.  
  694. <div class="clr"></div>
  695.  
  696. </div></div></div>
  697.  
  698.  
  699.  
  700. </div>
  701.  
  702.  
  703.  
  704. </body>
  705.  
  706. </html>
  707. <!--Время выполнения скрипта 0.0424 секунд(ы)-->
  708. <!--Время затраченное на компиляцию шаблонов 0.0005 секунд(ы)-->
  709. <!--Время затраченное на выполнение SQL запросов: 0.01041 секунд(ы)-->
  710. <!--Общее количество SQL запросов: 6-->
  711. <!--Для вывода использовалось сжатие 8-->
  712. <!--Общий размер страницы: 27288 байт После сжатия: 4894 байт-->


PHP:
скопировать код в буфер обмена
  1. <?PHP
  2. //////////////////////////
  3. //author:blackwolfinsane//
  4. //www.sallatt.ru        //
  5. //////////////////////////
  6.  
  7. $now = strtotime("now");
  8. $newyear = strtotime("20 February 2012");
  9.  
  10. $timeU = $newyear - $now;
  11.  
  12.  
  13. /////////минуты часы и дни  в секундах:
  14. $min = 60;
  15. $hour = 60 * 60;
  16. $day = 60 * 60 * 24;
  17.  
  18.  
  19.     $r_days = floor ($timeU / $day);
  20.     $r_hours = floor (($timeU - ($r_days * $day))/$hour);
  21.     $r_min = floor (($timeU - ($r_days * $day) - ($r_hours * $hour))/$min);
  22.     $r_sec = (($timeU - ($r_days * $day) - ($r_hours * $hour) - ($r_min * $min)));
  23.  
  24.  
  25. echo $r_days." Дней ";
  26.  
  27. echo $r_hours." Часов ";
  28.  
  29. echo $r_min." Минут ";
  30.  
  31. echo $r_sec." Секунд";
  32.  
  33. echo "<br />";
  34. ?>
  35.  
  36. <html>
  37. <head>
  38.  
  39. <script>
  40.  
  41. //change the text below to reflect your own,
  42. var before="the year 2013!"
  43. var current="Today is 2020.  Say hi to your grandchildren!"
  44. var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
  45.  
  46. function countdown(yr,m,d){
  47. var today=new Date()
  48. var todayy=today.getYear()
  49. if (todayy < 1000)
  50. todayy+=1900
  51. var todaym=today.getMonth()
  52. var todayd=today.getDate()
  53. var todaystring=montharray[todaym]+" "+todayd+", "+todayy
  54. var futurestring=montharray[m-1]+" "+d+", "+yr
  55. var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
  56. if (difference==0)
  57. document.write(current)
  58. else if (difference>0)
  59. document.write("Only "+difference+" days until "+before)
  60. }
  61. //enter the count down date using the format year/month/day
  62. countdown(2013,1,1)
  63. </script>
  64.  
  65.  
  66. </head>
  67. <body>
  68.  
  69.  
  70.  
  71. </body>
  72. </head>
  73. </html>
  74.  
  75. <?PHP
  76. ("SELECT * FROM kasseler_test WHERE id=10;");
  77. $row = mysql_fetch_array($sql);
  78. $date=$row['test'];
  79. echo $date;
  80. ?>
  81.  
  82.  
  83. <SCRIPT LANGUAGE="JavaScript">
  84. <!-- Original: Steve Dondley (steve@dondley.com) -->
  85. <!-- Web Site: http://www.progressivevalley.com -->
  86.  
  87. <!-- Begin
  88.  
  89. function getTime() {
  90. now = new Date();
  91. y2k = new Date("<?=$date?>");
  92. days = (y2k - now) / 1000 / 60 / 60 / 24;
  93. daysRound = Math.floor(days);
  94. hours = (y2k - now) / 1000 / 60 / 60 - (24 * daysRound);
  95. hoursRound = Math.floor(hours);
  96. minutes = (y2k - now) / 1000 /60 - (24 * 60 * daysRound) - (60 * hoursRound);
  97. minutesRound = Math.floor(minutes);
  98. seconds = (y2k - now) / 1000 - (24 * 60 * 60 * daysRound) - (60 * 60 * hoursRound) - (60 * minutesRound);
  99. secondsRound = Math.round(seconds);
  100. sec = (secondsRound == 1) ? " секунда." : " секунд.";
  101. min = (minutesRound == 1) ? " минута" : " минут, ";
  102. hr = (hoursRound == 1) ? " час" : " часов, ";
  103. dy = (daysRound == 1) ? " день" : " дней, ";
  104. aa = ":"
  105. document.timeForm.input1.value = "Осталось времени: " + daysRound + aa + hoursRound + aa + minutesRound + aa + secondsRound;
  106. newtime = window.setTimeout("getTime();", 1000);
  107. }
  108. // End -->
  109. </script>
  110.  
  111.  
  112. <html>
  113. <body>
  114. <BODY onLoad="getTime()">
  115. <center>
  116. <form name=timeForm>
  117. <input type=text name=input1 size=70 border-style="none" style="border-bottom: 0px solid; border-left: 0px solid;border-right: 0px solid;border-top: 0px solid;font:12px arial, helvetica,sans-serif">
  118. </form>
  119. </center>
  120. </body>
  121. </html>
  122.  
  123.  
  124. <meta http-equiv="Content-Type" content="text/html; Charset=UTF-8">  
  125.  
  126. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>  
  127.  
  128. <div id="content">
  129. </div>
  130.  
  131.  
  132. <script>
  133.    
  134.         function show()  
  135.        
  136. {  
  137.            
  138. $.ajax({  
  139.                
  140. url: "index.php",  
  141.                
  142. cache: false,  
  143.                
  144. success: function(html){  
  145.                     $("#content").html(html);                 }  
  146.            
  147. });  
  148.        
  149. }  
  150.        
  151.        
  152. $(document).ready(function(){  
  153.             show();  
  154.            
  155. setInterval('show()',1000);  
  156.        
  157. });  
  158.    
  159. </script>
  160.  
  161.  
  162. <font style=color:#ff0000 id=ct1></font>
  163.  
  164. <script type="text/javascript">
  165. var n1=69994;
  166. var t1=70000;
  167. function c1(){
  168. var a1=(t1-n1);
  169. if(a1>=1){
  170. var d1=(parseInt(a1/(24*60*60)));
  171. var sd=a1-d1*24*3600;
  172. var h=(parseInt(sd/3600));
  173. if(h<10){h='0'+h};
  174. var sl=sd-h*3600;
  175. var m=(parseInt(sl/60));
  176. if(m<10){m="0"+m};
  177. var ls=sl-m*60;
  178. if(ls<10){ls='0'+ls;}
  179. document.getElementById('ct1').innerHTML=h+':'+m+':'+ls;
  180. n1++
  181. setTimeout('c1()',1000);
  182. }
  183. else{
  184. document.getElementById('ct1').style.color='#00b000';
  185. document.getElementById('ct1').innerHTML='online';
  186. }
  187. }
  188. c1();
  189. </script>


вот 2 кода...
ridvik Отправлено: 21 Февраля, 2012 - 17:46:36 • Тема: дата из бд • Форум: JavaScript & VBScript

Ответов: 13
Просмотров: 2345
html код страницы чтоль?) или тебе код файла?? я что то не понял))
ridvik Отправлено: 21 Февраля, 2012 - 15:39:30 • Тема: дата из бд • Форум: JavaScript & VBScript

Ответов: 13
Просмотров: 2345
интересно сделано, но согласитесь это не то что мне нужно... мой код достаточно рабочий...
ridvik Отправлено: 21 Февраля, 2012 - 11:25:05 • Тема: дата из бд • Форум: JavaScript & VBScript

Ответов: 13
Просмотров: 2345
не чего не выводится=(( а есть еще какие нибудь способы решить данную проблему??

точнее просто выводится через echo $date; а вот в функции не хочет=((
ridvik Отправлено: 20 Февраля, 2012 - 20:30:50 • Тема: дата из бд • Форум: JavaScript & VBScript

Ответов: 13
Просмотров: 2345
и что мне это даст? это простой вывод, мне не так надо, либо я вас не понял...

Страниц (17): В начало « ... 9 10 11 12 13 [14] 15 16 17 »
Powered by PHP  Powered By MySQL  Powered by Nginx  Valid CSS  RSS

 
Powered by ExBB FM 1.0 RC1. InvisionExBB