PHP.SU

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

Страниц (6): [1] 2 3 4 5 6 »

> Найдено сообщений: 86
tgcoin Отправлено: 13 Марта, 2012 - 14:31:21 • Тема: не работает bgcolor из за css • Форум: Напишите за меня, пожалуйста

Ответов: 5
Просмотров: 80
нет надо css менять
tgcoin Отправлено: 13 Марта, 2012 - 12:18:52 • Тема: не работает bgcolor из за css • Форум: Напишите за меня, пожалуйста

Ответов: 5
Просмотров: 80
не работает тоже самое
tgcoin Отправлено: 13 Марта, 2012 - 10:37:01 • Тема: не работает bgcolor из за css • Форум: Напишите за меня, пожалуйста

Ответов: 5
Просмотров: 80
вот код каторый не работает <td bgcolor='#000'> проблема css
помогите пожалуйсто исправить вот сам код спасибо
CODE (htmlphp):
скопировать код в буфер обмена
  1.  
  2. *                                               {padding:0px 0px 0px 0px; margin:0px 0px 0px 0px;}
  3. body                                    {background:url(bg.gif);}
  4. img                                             {border:none}
  5. p                                               {}
  6. td                                              {line-height:14px; color:#575859; font:normal 11px Arial, Helvetica, sans-serif; vertical-align:top}
  7. table                                   {border-collapse:collapse; border:0px; width:100%;}
  8. ul                                              {list-style:none}
  9. a                                               {color:#575859; font-weight:normal; font-size:12px; text-decoration:none}
  10. a:visited                               {color:#575859;}
  11. a:hover                                 {color:#575859; text-decoration:underline}
  12. hr                                              {}
  13. hr.separator                    {}
  14. .article_seperator              {}
  15.  
  16. /*
  17. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇFORMSЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  18. .button                                 {background:url(button2.gif) no-repeat 0 0; width:120px; height:20px; color:#000000; margin:2px 0px 0px 20px; border:none}
  19. .contact_email #contact_text {width:350px;}
  20. .introtext                              {width:80%}
  21. .contact_email .inputbox{width:350px}
  22.  
  23. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇMENU-NAVЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  24. .pagenavbar                     {color:#89a801; font:normal 12px arial}         /*<< Start < Prev Next > End >>"*/
  25. .pagenavbar a                   {color:#89a801 !important; font:normal 12px arial}
  26. .pagenavbar:visited     {color:#89a801 !important; font:normal 12px arial}
  27.  
  28. .pagenav                                {color:#89a801; font:normal 12px arial; margin:0px 7px 0px 7px;}        /* format text for  "<< Start < Previous 1 Next > End >>" links */
  29. a.pagenav:visited               {color:#89a801; font:normal 12px arial}
  30. a.pagenav:hover                 {color:#89a801; font:normal 12px arial}
  31.  
  32. a.readon                                {/*background:url(button.gif) no-repeat 0 0px; display:block; width:69px; height:17px;/* special for mambo */ color:#89a801 !important; padding:3px 0px 0px 6px; text-decoration:none !important; font:normal 11px Arial !important; margin:10px 0px 0px 0px;}  /* Read More" */
  33. a.readon:hover                  {color:#ffffff; text-decoration:none !important}
  34. a.readon:visited                {color:#ffffff}
  35.  
  36. .back_button                    {padding:30px 0px 20px 26px;}
  37. .back_button    a               {color:#89a801; font:bold 12px Arial; text-decoration:none}     /* "BACK" Button's style */
  38. .back_button    a:hover {color:#89a801; text-decoration:underline}
  39. .back_button    a:visited {color:#89a801}
  40. .pagenav_prev   a               {color:#89a801; font:bold 12px Arial; text-decoration:none}     /* "PRE"  Button's style */
  41. .pagenav_prev   a:hover {color:#89a801; text-decoration:underline}
  42. .pagenav_prev   a:visited {color:#89a801}
  43. .pagenav_next   a               {color:#89a801; font:bold 12px Arial; text-decoration:none}     /* "NEXT" Button's style */
  44. .pagenav_next   a:hover {color:#89a801; text-decoration:underline}
  45. .pagenav_next   a:visited {color:#89a801}
  46.  
  47. .mostread ul                    {}      /* most popular' style – By default - user2*/
  48. .mostread li                    {}
  49.  
  50. .blogsection                    {color:#89a801; font-weight:bold; font-size:11px; text-decoration:none}
  51. .category                               {color:#89a801 !important; font-weight:bold; font-size:11px; text-decoration:none}
  52. .toclink                                {color:#89a801; font-weight:bold; font-size:11px; text-decoration:none}
  53.  
  54.  
  55. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇCONTENTЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  56. a.category:link                 {}
  57. a.category:hover                {}
  58. a.category:visited              {}
  59.  
  60. .blog                                   {margin:0px 0px 0px 0px;}       /* Main table*/
  61. .blog td                                {padding:0px 0px 0px 0px;}
  62. .blogsection                    {}      /* Links of Blog's section */
  63. .blog_more                              {padding:7px 0px 5px 28px;}     /* Text "More" in blog's section*/
  64. a.blogsection:link              {color:#89a801}         /* Link's style */
  65. a.blogsection:visited   {color:#89a801}         /* visited Link's style */
  66. a.blogsection:hover     {color:#89a801}         /* hover Link's style*/
  67.  
  68. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇtitlesЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  69. .componentheading               {font:bold 12px Arial !important; color:#89a801 !important; padding:27px 0px 35px 103px !important; background:url(title_bg.gif) no-repeat 36px 17px; margin:0px 0px 10px 0px;}
  70. .contentheading                 {font:bold 12px Arial !important; color:#89a801 !important; padding:27px 0px 35px 103px !important; background:url(title_bg.gif) no-repeat 36px 17px; margin:0px 0px 10px 0px;}
  71. .contentheading         a       {font:bold 12px Arial !important; color:#89a801 !important;}
  72. /*<_Ї_Ї_Ї_Ї_Ї_Ї_Ї_Ї_Ї_Ї_Ї_Ї_----------------------------------------*/
  73. .contentpane .contentheading {background:none !important} /* Page Contact us */
  74.  
  75. .contentpaneopen                {margin:0px 0px 20px 0px; width:99%}
  76. .contentpaneopen        img     {margin:0px 12px 0px 0px; float:left}
  77. .contentpaneopen        td      {font:normal 11px Arial; line-height:16px; color:#575859; padding:0px 20px 10px 24px; text-align:justify; line-height:20px;}    /* the table that containing the service information (components, categories, forms...).*/
  78. .contentpaneopen td td  {padding:0px 0px 0px 0px !important}/* the table that containing text */
  79. .contentpaneopen a              {color:#575859; font-weight:normal; font-size:11px; text-decoration:underline}
  80. .contentpaneopen a:hover{color:#575859; text-decoration:none}
  81. .contentpaneopen label  {line-height:30px}
  82. .contentpaneopen li             {padding:0px 0px 12px 16px; background:url(li_bg.gif) no-repeat 0 0}
  83. .contentpaneopen input  {margin:0px 5px 0px 0px;padding:0px 0px 2px 0px;}
  84. * html .contentpaneopen input {width:auto}
  85. .contentpaneopen .inputbox  {width:150px; margin:0px 0px 0px 0px;}
  86. .contentpaneopen .button        {background:url(button.gif) no-repeat 0 0; width:64px; height:20px; color:#000000; margin:0px 0px 0px 5px;}
  87. .contentpane            td      {padding:0px 0px 10px 23px; font:normal 12px arial; line-height:16px}
  88. .contentpane            li      {}
  89. .contentpane            li a{color:#065083; font-size:12px; padding:0px 0px 0px 0px;}
  90. * html .contentpane iframe              {width:90% !important;margin:0px 0px 0px 25px;}
  91. .contentpane .button    {background:url(button2.gif) no-repeat 0 0; width:120px; height:20px !important; color:#000000; margin:0px 0px 0px 0px;}
  92. .contentpagetitle               {}
  93.  
  94. span.contentheading     {background:none; padding:0px 0px 0px 0px !important;}
  95.  
  96. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇpage faqЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  97. .componentheading_faq   {font:bold 12px Arial !important; color:#89a801 !important; padding:27px 0px 35px 103px !important; background:url(title_bg.gif) no-repeat 36px 17px; margin:0px 0px 10px 0px;}
  98. .contentpane_faq        td      {padding:0px 10px 10px 23px; font:normal 12px arial; line-height:16px; text-align:left}
  99. .contentpane_faq        td td   {padding:0px 0px 10px 0px;}
  100. .componentheading_faq td{padding:3px 0px 6px 0px !important;    }
  101. .sectiontableheader_faq td      {padding:3px 0px 6px 0px !important;    }
  102. .contentpane_faq input  {width:110px}
  103. .contentdescription_faq {padding-top:10px !important;}
  104. .contentdescription_faq img {margin:5px 10px 0px 0px;}
  105.  
  106. .componentheading_ln    {font:bold 12px Arial !important; color:#89a801 !important; padding:27px 0px 35px 103px !important; background:url(title_bg.gif) no-repeat 36px 17px; margin:0px 0px 10px 0px;}
  107. .contentpane_ln td              {padding:10px 10px 15px 20px; font:normal 12px arial; line-height:16px; text-align:left}
  108. .contentpane_ln td td   {padding:0px 0px 0px 0px;}
  109. .contentpane_ln input   {width:110px; margin:0px 0px 0px 0px;}
  110.  
  111. .componentheading_gs    {font:bold 12px Arial !important; color:#89a801 !important; padding:27px 0px 35px 103px !important; background:url(title_bg.gif) no-repeat 36px 17px; margin:0px 0px 10px 0px;}
  112. .contentpane_gs td              {padding:10px 10px 15px 20px; font:normal 12px arial; line-height:16px; text-align:left}
  113. .contentpane_gs td td   {padding:0px 0px 0px 0px;}
  114. .contentpane_gs input   {width:110px; margin:0px 0px 0px 0px;}
  115.  
  116.  
  117. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  118. .content_rating                 {margin:0px 0px 0px 25px;}
  119. .content_vote                   {margin:0px 0px 0px 25px;}
  120. .message                                {margin:0px 0px 0px 25px; color:#bf0000; font:normal 12px Arial; padding:10px 0px 0px 0px;}
  121. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇSUBHEADINGSЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  122. a.contentpagetitle:hover{} /* subheading Being references*/
  123. a.contentpagetitle:link {}
  124. a.contentpagetitle:visited {}
  125.  
  126. .contentdescription img {margin:0px 15px 0px 0px;}      /* formating section "DESCRIPTION" categories (News/Weblinks/Latest news...) */
  127.  
  128. table.contenttoc                {float:none; margin:0px 0px 6px 0px;}   /* Tables of Content. Use for multipages articles */
  129. table.contenttoc td     {padding:3px 0px 0px 0px !important;}   /* Tables of Content. Use for multipages articles */
  130. table.contenttoc th     {padding:0px 0px 10px 0px;}     /* Tables of Content. Use for multipages articles */
  131. table.contenttoc td.toclink {} /*Tables of Content. Use for multipages articles for links*/
  132. .pagenavcounter                 {padding:0px 0px 10px 0px; margin:0px 0px 0px 0px; color:#065083}
  133. a.toclink:link                  {color:#065083}                        
  134. a.toclink:visited               {color:#065083}
  135. a.toclink:hover                 {color:#065083}
  136. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇDATES, AUTHORSЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  137. .createdate                     {color:#3e3e3c !important; font:normal 11px Arial !important; padding:0px 9px 22px 40px !important; background:url(createdate_bg.gif) no-repeat 24px 2px;}      /* The date of created style*/
  138. .modifydate                     {color:#3e3e3c !important; font:normal 11px Arial !important; padding:0px 0px 0px 23px !important}      /* formating text - Last updated on */
  139. .small                                  {color:#3e3e3c; font:normal 11px Arial; margin:0px 0px 0px 15px;}       /* formating text - "Written by:...." */
  140. .smalldark                              {color:#3e3e3c; font:normal 11px Arial;}        /* formating text - "Number of Voters"  */
  141. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇWEBLINKSЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  142. .weblinks                               {color:#065083}         /* f0rmating links on section "Weblinks"*/
  143. a.weblinks:hover                {color:#065083}
  144. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇNEWSFEEDЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  145. .newsfeedheading                {color:#065083}         /* only for heading newsfeed.*/
  146. .newsfeeddate                   {color:#065083}         /* date for newsfeed */
  147. .fase4rdf                               {color:#065083}         /* text newsfeed */
  148. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇSEARCHЇPAGEЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  149. table.searchintro td    {padding:10px 0px 10px 40px;}   /* formating message "Search Keyword: test returned 4 matches" */
  150.  
  151. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇMAINMENUЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  152. .module_s1                              {background:url(mainmenu_top.jpg) no-repeat 0 0 #d8ed03; margin:0px 0px 8px 0px; width:206px}
  153. .module_s1 div                  {background:url(mainmenu_bottom.jpg) no-repeat left bottom; min-height:231px}
  154. * html .module_s1 div   {height:231px}
  155. .module_s1 div div              {width:100%; height:auto; background:none}
  156. .module_s1 div div div  {padding:0px 0px 0px 0px;}
  157. .module_s1 div div div div      {}
  158. .module_s1 h3                   {font:bold 17px Arial; color:#000000; padding:20px 0px 10px 23px; margin:0px 0px 0px 24px; background:url(mainmenu_h3_bg.gif) no-repeat 0 20px}
  159. .module_s1 table                {}
  160. .module_s1 td                   {padding:0px 0px 0px 0px;}
  161. .module_s1 td td                {padding:0px 0px 0px 0px;}
  162. .module_s1 td div               {margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; background:none; /*width:138px !important*/}   /*sub_main_menu indent*/
  163. .module_s1 a                    {background:url(mainmenu_item.gif) no-repeat 0 7px; padding:2px 0px 0px 34px; margin:0px 0px 0px 19px; color:#2c2c2c !important; font:bold 12px Arial; text-decoration:none; height:19px; display:block}        /* Item Of Menu Main */
  164. .module_s1 a:hover              {text-decoration:underline}
  165. .module_s1 img                  {width:0px; height:0px}
  166.  
  167. .mainlevel                              {}      
  168. a.mainlevel:visited     {color:#ffffff;}
  169. a.mainlevel:hover               {color:#ffffff;}
  170. #active_menu                    {}      /* active item */
  171. a.sublevel                              {}
  172. a.sublevel:link                 {}
  173. a.sublevel:visited              {}
  174. a.sublevel:hover                {}
  175.  
  176.  
  177. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇLOGIN FORMЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  178. .module_s2                              {background:url(box_separator.gif) no-repeat 25px bottom; margin:0px 0px 10px 0px;}
  179. .module_s2 div                  {background:none; width:100%}
  180. .module_s2 div div              {padding:8px 0px 18px 25px}
  181. .module_s2 div div div  {padding:0px 0px 0px 0px; height:auto}
  182. .module_s2 a                    {color:#ffffff !important; font:normal 11px arial; text-decoration:underline}
  183. .module_s2 a:hover              {color:#ffffff; text-decoration:none}
  184. .module_s2 h3                   {}
  185. .module_s2 label                {color:#ffffff; font:normal 11px arial; vertical-align:top; margin:0px 10px 0px 0px; display:block}
  186. .module_s2 table                {margin:0px 0px 0px 0px; }
  187. .module_s2 td                   {color:#b3dc02; font:bold 11px arial; padding:2px 0px 0px 5px;}
  188. .module_s2 td td                {padding:0px 0px 0px 0px;}
  189. .module_s2 br                   {line-height:3px}
  190. .module_s2 form                 {text-align:left; padding:0px 0px 0px 0px;}
  191. .module_s2 form div             {width:65px}
  192. .module_s2 form td              {text-align:left}
  193. .module_s2 .inputbox    {width:148px; height:16px; margin:0px 0px 4px 0px; padding:0px 0px 0px 3px; border:1px solid #818181; color:#818181; vertical-align:middle; font:normal 11px Arial}     /* inputbox */
  194. * html .module_s2 .inputbox {width:auto;}/* hack for IE (checkbox)*/
  195. .module_s2 .button              {display:block; width:65px; height:20px; background:url(loginform_button.gif) no-repeat 0 0; border:none; font:bold 11px arial; color:#000000; margin:6px 0px 4px 0px; vertical-align:middle} /* button */
  196. #mod_login_remember             {margin:0px 10px 0px 0px; vertical-align:middle; background:none; border:none; float:left; display:block; width:12px}           /*checkbox*/
  197. .module_s2 input[type="checkbox"] {width:auto; vertical-align:middle; margin:0px 5px 0px 0px;}/* checkbox (for Mozilla, Opera) */
  198.  
  199. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇPOLLSЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  200. .module_s3                              {background:url(box_separator.gif) no-repeat center bottom;; margin:0px 0px 7px 0px;}
  201. .module_s3 div                  {background:none; width:100%}
  202. .module_s3 div div              {padding:8px 0px 10px 0px}
  203. .module_s3 div div div  {padding:0px 0px 0px 0px;}
  204. .module_s3 div div div div      {}
  205. .module_s3 h3                   {font:bold 17px Arial; color:#ffffff; padding:0px 0px 10px 23px; margin:0px 0px 0px 25px; background:url(polls_h3_bg.gif) no-repeat 0 1px}
  206. .module_s3 table                {margin:0px 0px 0px 0px;}
  207. .module_s3 table table  {background:none}
  208. .module_s3 thead td             {padding:0px 15px 10px 27px;  font:normal 11px Arial !important; color:#787878;}                        /* question */
  209. .module_s3 td                   {padding:0px 18px 6px 25px; text-align:left; vertical-align:middle;}
  210. .module_s3 td td                {padding:0px 0px 0px 0px !important;}           /* formating td for table polls */
  211. .module_s3 td div               {text-align:left}               /* buttons align */
  212. .module_s3 label                {margin:0px 6px 0px 0px; font:normal 11px Arial; color:#ffffff; line-height:20px }              /* text */
  213. .module_s3 input                {margin:0px 0px 0px 0px; vertical-align:top}
  214. .module_s3 .button              {background:url(polls_button.gif) no-repeat 0 0; width:67px; height:20px; vertical-align:middle; margin:10px 0px 15px 10px; color:#000000; font-weight:bold; font-size:11px}
  215. .poll                                   {padding:0px 15px 10px 27px !important;  font:normal 11px Arial !important; color:#787878;}     /* formating td for table polls */
  216. .pollstableborder_s3 td {border-bottom:1px solid #303030}
  217. .sectiontableentry1_s3  {padding:5px 0px 5px 0px !important;}
  218. .sectiontableentry2_s3  {padding:5px 0px 5px 0px !important;}
  219.  
  220. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇWHO'S ON LINEЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  221. .module_s4                              {background:url(whosonline_top.gif) no-repeat 0 0 #363636; margin:0px 0px 8px 7px; width:191px; color:#ffffff; font:bold 11px Arial}
  222. .module_s4 div                  {background:url(whosonline_bottom.gif) no-repeat left bottom; padding:10px 0px 15px 15px;}
  223. .module_s4 div div              {padding:0px 0px 0px 0px; background:none;}
  224. .module_s4 div div div  {padding:0px 0px 0px 0px}
  225. .module_s4 h3                   {font:bold 17px Arial; color:#ffffff; padding:0px 0px 10px 23px; margin:0px 0px 0px 0px; background:url(whosonline_h3_bg.gif) no-repeat 0 1px}
  226. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇLATEST_NEWSЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  227. .module_s5                              {background:url(c_tr.gif) no-repeat right top}
  228. .module_s5 div                  {background:url(c_br.gif) no-repeat right bottom}
  229. .module_s5 div div              {background:url(c_bl.gif) no-repeat left bottom; padding:0px 0px 15px 24px;}
  230. .module_s5 div div div  {background:none; padding:0px 0px 0px 0px}
  231. .module_s5 h3                   {color:#ffffff; font:bold 13px Arial; padding:22px 0px 21px 22px; background:url(latestnews_h3_bg.gif) no-repeat 0 23px}
  232. .module_s5 a                    {color:#89a9c6}
  233. .module_s5 a:hover              {color:#89a9c6}
  234. .module_s5 td                   {padding:0px 0px 0px 0px;}
  235. ul.latestnews_s5                {margin:0px 0px 0px 0px;}
  236. li.latestnews_s5                {margin:0px 0px 5px 0px;}
  237. li.latestnews_s5 a              {color:#89a9c6; font:normal 13px Arial !important; background:url(latestnews_bullet.gif) no-repeat left top; padding:0px 0px 0px 14px; text-decoration:underline;}
  238. li.latestnews_s5 a:hover{color:#89a9c6; text-decoration:none}
  239. li.latestnews_s5 a:visited{color:#89a9c6}
  240. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇSEARCHЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  241. #search                                 {height:74px; background:url(search_bg.gif) no-repeat 0 0}
  242. .module_s6                              {padding:10px 0px 0px 17px;}
  243. .module_s6      div                     {padding:0px 0px 0px 0px;}                     
  244. .module_s6      div div         {}
  245. .module_s6      div div div {background:none; height:auto}
  246. .module_s6 h3                   {color:#ffffff; font:bold 13px Arial; padding:0px 0px 0px 20px; background:url(search_h3_bg.gif) no-repeat 0 0}
  247. .inputbox_s6                    {width:176px; height:15px; border:1px solid #481c1c; color:#404040; vertical-align:middle; font:normal 11px Arial; padding:0px 0px 0px 3px; margin:53px 0px 0px 10px;}
  248. #search_searchword              {width:110px; vertical-align:top}                               /*user4 search by default*/
  249. #mod_login_remember             {}
  250. .search_s6                              {}
  251.  
  252. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇPOPULARЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  253. .module_s7                              {background:url(c_tr.gif) no-repeat right top}
  254. .module_s7 div                  {background:url(c_br.gif) no-repeat right bottom}
  255. .module_s7 div div              {background:url(c_bl.gif) no-repeat left bottom; padding:0px 0px 15px 24px;}
  256. .module_s7 div div div  {background:none; padding:0px 0px 0px 0px}
  257. .module_s7 h3                   {color:#ffffff; font:bold 13px Arial; padding:22px 0px 21px 22px; background:url(popular_h3_bg.gif) no-repeat 0 23px}
  258. .module_s7 a                    {color:#89a9c6}
  259. .module_s7 a:hover              {color:#89a9c6}
  260. .module_s7 td                   {padding:0px 0px 0px 0px;}
  261. ul.mostread_s7                  {margin:0px 0px 0px 0px;}
  262. li.mostread_s7                  {margin:0px 0px 5px 0px;}
  263. li.mostread_s7 a                {color:#89a9c6; font:normal 13px Arial !important; background:url(latestnews_bullet.gif) no-repeat left top; padding:0px 0px 0px 14px; text-decoration:underline;}
  264. li.mostread_s7 a:hover{color:#89a9c6; text-decoration:none}
  265. li.mostread_s7 a:visited{color:#89a9c6}
  266. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇPATHWAYЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  267. /* html #pathway                {height:25px; padding:8px 30px 0px 33px;}*/
  268. #pathway                                {height:42px; padding:20px 30px 0px 33px;}
  269. #pathway .space                 {float:right; padding:0px 0px 0px 0px;}
  270. span.pathway                    {margin:0px 0px 0px 0px;}                               /* left space*/
  271. .pathway                                {color:#797979; font:bold 11px Arial;}  /*formating pathway text*/
  272. a.pathway                               {color:#797979 !important; font:bold 11px Arial; background:url(pathway_bullet.gif) no-repeat left center; padding:0px 0px 0px 14px; text-decoration:underline} /*formating pathway link*/
  273. a.pathway:hover                 {text-decoration:none}
  274. .pathway img                    {margin:2px 20px 0px 17px; vertical-align:middle}
  275.  
  276. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇTOPMENUЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  277. #topmenu                                {height:49px;}
  278. ul#mainlevel-nav                {padding:19px 0px 0px 15px;}
  279. ul#mainlevel-nav li             {display:block; float:left; background:url(topmenu_separator.gif) no-repeat right 2px; color:#ffffff !important; font:normal 11px Arial; text-decoration:none; padding:0px 25px 0px 25px;}
  280. #mainlevel-nav a                {color:#ffffff; font:bold 11px Arial; text-decoration:none; margin:0px 0px 0px 0px;  padding:0px 0px 0px 0px;}
  281. #mainlevel-nav a:visited{color:#ffffff; font:bold 11px Arial; text-decoration:none}
  282. #mainlevel-nav a:hover  {color:#ffffff; font:bold 11px Arial; text-decoration:underline}
  283. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇINDEX.PHP_STYLESЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  284. .clr                                    {clear:both}
  285. .column                                 {float:left}
  286.  
  287. .tail                                   {background:url(tail.gif) repeat-x 0 0}
  288. .main                                   {width:725px; margin:auto}
  289.  
  290. #header                                 {background:url(header_bg.jpg) no-repeat 0 0 !important}
  291. #header img                             {margin:37px 0px 0px 10px;}
  292. #header .c1                             {width:100%; margin:0px -217px 0px 0px; float:left; height:127px}
  293. #header .c1     .space          {}
  294. #header .c2                             {width:206px; float:right; height:127px}
  295. #header .c2 .space              {}
  296. #content                                {}
  297. #content .c1                    {width:100%;}
  298. #content .c1.space              {}
  299. #content .c2                    {width:206px;}
  300. #content .c2 .space             {padding:8px 0px 8px 0px;}
  301. .column_separator div   {width:11px}
  302. .rt                                             {background:url(right_top.gif) no-repeat 0 0 #000000}
  303. .rb                                             {background:url(right_bottom.gif) no-repeat left bottom; width:100%}
  304.  
  305.  
  306.  
  307. #footer                                 {font:bold 11px Tahoma; color:#fff; height:80px}
  308. #footer .space                  {padding:20px 25px 0px 0px; }
  309. #footer .space div              {text-align:left; padding:0px 10px 0px 75px;}
  310. #footer .space div div  {padding:0px 0px 0px 0px;}
  311. #footer a                               {color:#FFD700;font:bold 11px Tahoma; text-decoration:underline}
  312. #footer a:hover                 {text-decoration:none}
  313. #banner                                 {padding:10px 0px 10px 0px; text-align:center}
  314. /*ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇTEMPLATEЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ*/
  315.                        
  316. h3                                              {font:bold 17px Arial; color:#ffffff; padding:0px 0px 10px 23px; margin:0px 0px 0px 25px; background:url(polls_h3_bg.gif) no-repeat 0 1px}
  317. .module                                 {}
  318. .module div                     {}
  319. .module div div                 {}
  320. .module div div div             {background:none; padding:0px 0px 0px 0px;}
  321.  
  322. /*_____________________________________________________TEMPLATE________________________________________________*/
  323.  
  324. .c_t                                    {background:url(l.gif) repeat-x top #ffffff}
  325. .c_l                                    {background:url(l.gif) repeat-y left top}
  326. .c_r                                    {background:url(l.gif) repeat-y right top}
  327. .c_b                                    {background:url(l.gif) repeat-x left bottom}
  328. .c_tl                                   {background:url(c_tl.gif) no-repeat 0 0 #f0fae2; width:100%}
  329. .c_tr                                   {background:url(c_tr.gif) no-repeat right top;}
  330. .c_br                                   {background:url(c_br.gif) no-repeat bottom right}
  331. .c_bl                                   {background:url(c_bl.gif) no-repeat bottom left; padding:0px 0px 15px 0px;}
  332.  
tgcoin Отправлено: 13 Февраля, 2012 - 10:49:36 • Тема: просьба все у кого есть браузер • Форум: Наработки по собственным проектам

Ответов: 4
Просмотров: 1923
вот мой сайт - http://name-co[dot]ru/
ведите любой уин можете даже мой 6791919
проверить хочу во всех ли браузерах будет читаться хорошо
tgcoin Отправлено: 12 Февраля, 2012 - 10:06:51 • Тема: помогите оптимизировать код • Форум: Напишите за меня, пожалуйста

Ответов: 0
Просмотров: 27
CODE (htmlphp):
скопировать код в буфер обмена
  1.  
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  3. "http://www.w3.org/TR/html4/loose.dtd">
  4. <html>
  5. <head>
  6. <title>Мониторинг обменных пунктов электронных валют</title>
  7.   <meta name="description" content="Курсы надежных обменных пунктов, меняющих WMR на WMZ (WebMoney на WebMoney). Список выгодных обменников, работающих с обменом WMR на WMZ.">
  8.   <meta name="keywords" content="WMR, обменники, WMZ, курсы, WebMoney, список обменников, мониторинг, лучшие курсы, обмен валют, обменные пункты">
  9.   <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
  10.   <meta http-equiv="Pragma" content="no-cache">
  11.   <meta http-equiv="Cache-Control" content="no-cache">
  12. <link type="text/css" rel="stylesheet" href="main.css">
  13. </head>
  14. <body>
  15. <table cellpadding="0" cellspacing="0" border="0" class="content">
  16. <tr>
  17.  
  18. <td><h2>&nbsp;&nbsp;Мониторинг курсов обменных пунктов</h2></td>
  19. </tr>
  20. <tr>
  21.         <td class="contentLeft">
  22.         <!--content-->
  23. <script language="JavaScript" type="text/javascript">
  24.    var select1 = 0;
  25.    var select2 = 0;
  26.    var temp1 = 0;
  27.    var temp2 = 0;
  28.  
  29.    function goto_list() {
  30.      document.location='index.php?c1='+document.select_currency.from.value+'&c2='+document.select_currency.to.value;
  31.    }
  32.  
  33.    function auto_direct(select1, select2) {
  34.      if (select1 == 1) {
  35.        temp1 = select1;
  36.      }
  37.      if (select2 == 1) {
  38.        temp2 = select2;
  39.      }
  40.      if ((temp1 == 1)&&(temp2 == 1)) {
  41.        goto_list();
  42.      }
  43.    }
  44.  
  45.    nr = false;
  46.    function f_cl(url) {
  47.      if (nr) {
  48.        nr = false;
  49.        return false;
  50.      }
  51.      window.open('go.php?'+url);
  52.    }
  53.  
  54.    
  55.  </script>  
  56. <?php
  57.  
  58. include ('db.php');
  59.  
  60. function itfalse($x)
  61.          {
  62.              global $se;        $ok=0;
  63.             for ($j = 3; $j < 15; $j++)
  64.               {
  65.                   if ($se[$x][$j] == 40)   { $ok++; }
  66.               }     return $ok;
  67.  
  68.          }
  69.          function iscount2($x,$y)
  70.          {
  71.           if (($x == 7) and ($y == 7)) { return 0; }
  72.           if (($x == 1) and ($y == 0)) { return 1; }
  73.           if (($x == 3) )  { return 2; }
  74.           if (($x == 2) and ($y == 6)) { return 3; }
  75.           if (($x == 2) and ($y == 1))  { return 4; }
  76.           if (($x == 6) and ($y == 5))  { return 5; }
  77.           if (($x == 7) and ($y == 4))  { return 6; }
  78.           if (($x == 1) and ($y == 2))  { return 7; }
  79.           if (($x == 6) and ($y == 6))  { return 8; }
  80.  
  81.           if (($x == 4))  { return 9; }
  82.          }
  83.                    function iscount($x,$y)  //1 2 digit
  84.          {
  85.           if ( ($x == 1) and ($y == 0) )  { return 1; }
  86.           if (($x == 5) and ($y == 4)) { return 2; }
  87.           if (($x == 2) and ($y == 7)) { return 3; }
  88.           if (($x == 2) and ($y == 10))  { return 4; }
  89.           if (($x == 7) and ($y == 5)) { return 5; }
  90.           if (($x == 8) and ($y == 5))  { return 6; }
  91.              if (($x == 1) and ($y == 3))  { return 7; }
  92.           if (($x == 7) and ($y == 7))  { return 8; }
  93.           if (($x == 5) and ($y == 8))  { return 9; }
  94.            if (($x == 8) and ($y == 8))  { return 0; }
  95.  
  96.          }
  97.  
  98.                      
  99. function curl_redir_exec($ch)
  100. {
  101. static $curl_loops = 0;
  102. static $curl_max_loops = 20;
  103. if ($curl_loops++ >= $curl_max_loops)
  104. {
  105. $curl_loops = 0;
  106. return FALSE;
  107. }
  108. curl_setopt($ch, CURLOPT_HEADER, true);
  109. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  110. $data = curl_exec($ch);
  111. list($header, $data) = explode("\n\n", $data, 2);
  112. $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
  113. if ($http_code == 301 || $http_code == 302)
  114. {
  115. $matches = array();
  116. preg_match('/Location:(.*?)\n/', $header, $matches);
  117. $url = @parse_url(trim(array_pop($matches)));
  118. if (!$url)
  119. {
  120. //couldn't process the url to redirect to
  121. $curl_loops = 0;
  122. return $data;
  123. }
  124. $last_url = parse_url(curl_getinfo($ch, CURLINFO_EFFECTIVE_URL));
  125. if (!$url['scheme'])
  126. $url['scheme'] = $last_url['scheme'];
  127. if (!$url['host'])
  128. $url['host'] = $last_url['host'];
  129. if (!$url['path'])
  130. $url['path'] = $last_url['path'];
  131. $new_url = $url['scheme'] . '://' . $url['host'] . $url['path'] . ($url['query']?'?'.$url['query']:'');
  132. curl_setopt($ch, CURLOPT_URL, $new_url);
  133. //debug('Redirecting to', $new_url);
  134. return curl_redir_exec($ch);
  135. } else {
  136. $curl_loops=0;
  137. return $data;
  138. }
  139. }
  140.  
  141. function getPage($url)
  142. {
  143.         $ch = curl_init();
  144.         curl_setopt ($ch, CURLOPT_URL,$url);
  145.         curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
  146.         curl_setopt ($ch, CURLOPT_TIMEOUT, 1);
  147.         @curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
  148.         curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  149.         $result = curl_exec ($ch);
  150.         curl_close($ch);
  151.         return $result;
  152. }
  153.  
  154.  
  155. ?>
  156.  
  157. <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" align="left" width="100%">
  158. <tr>
  159. <td width="100%" style='padding-top: 7px; padding-bottom: 7px; padding-left: 10px; padding-right: 10px; '>
  160. Направление обмена:<br><br>
  161.   <form action="index.php" method="get" name="select_currency">
  162.   <select name="from" onchange="auto_direct(1, 0)">
  163.        
  164. <?php
  165.  
  166. $c1= $_GET["c1"];
  167. $c2= $_GET["c2"];
  168.  
  169. if ($c1=="" && $c2=="")
  170.  
  171. {$c1=1; $c2=2;}
  172.  
  173. foreach ($decode as $i=>$value)
  174. { if ($decode[$i] <>"") {echo"<option value=".$i;
  175. if ($i==$c1) {echo " selected";}
  176. echo ">".$decode[$i]."</option>";}
  177. }
  178.  
  179. ?>
  180. </select> на <select name="to" onchange="auto_direct(0, 1)">
  181.        
  182. <?php
  183. $i=0;
  184. foreach ($decode as $i=>$value)
  185. { if ($decode[$i] <>"") {echo"<option value=".$i;
  186. if ($i==$c2) {echo " selected";}
  187. echo ">".$decode[$i]."</option>";}
  188. }
  189.  
  190. ?>
  191.  
  192.  </select> <script language="JavaScript" type="text/javascript">
  193.    document.write('<a href="javascript:goto_list()"><b>Найти лучший курс!</b><'+'/a>');
  194.  </script>
  195.   <noscript>
  196.     <input type="submit" style="margin-top: 12px; margin-bottom: 2px" value="Найти курсы">
  197.   </noscript>
  198.  
  199. </form>
  200. </td>
  201. </tr>
  202. </table>
  203. <br>
  204. <h2>Обмен <?php echo $decode[$c1]; ?> на <?php echo $decode[$c2]; ?></h2><br><br>
  205. <div class="exchvar">
  206. &nbsp;&nbsp;<a href="http://pincode.biz.ua/index.php?c1=<?php echo $c2; ?>&c2=<?php echo $c1; ?>"><b>Обратный обмен</a></b> <a href="http://pincode.biz.ua/index.php?c1=1&c2=20"><b>Обмен WMZ на WMU</b></a> <a href="http://pincode.biz.ua/index.php?c1=2&c2=20"><b>Обмен WMR на WMU</b></a></div><br>
  207. <table cellSpacing="1" cellPadding="0" border="0" class="course" width="550">
  208.       <thead>
  209.       <tr class="caption"><td>&nbsp;Обменник</td><td width="90">Отдаете</td><td width="90">Получаете</td><td width="90" class="alignright">Резерв</td><td class="alignright" width="35">BL&nbsp;</td></tr>
  210.       </thead>
  211.       <tbody>
  212.  
  213. <?php
  214. $start = microtime(true);
  215. foreach ($obmennik as $k=>$valueo)
  216.  
  217. {$file = @getpage ($obmennik[$k]["kurs_url"]);
  218.  
  219. $file = explode(";", $file);
  220.  
  221. if ($obmennik[$k] <>"" && (!$file)==false)  
  222.  
  223.  {     
  224.         foreach ($file as $line_num => $file)
  225.         {
  226.        
  227.         $array = explode(",",trim($file,";"));
  228.         if ($c1==$array[0] && $c2==$array[1])
  229.  
  230.                 {
  231.                 $kursy[$k][1]=$array[2];
  232.                 $kursy[$k][2]=$array[3];
  233.                 if ($kursy[$k][1]<>"") {$nn=1; }
  234.                 }
  235.         }
  236. }
  237.  
  238. }
  239.  
  240. //if(is_array($kursy) && isset($kursy[1][1]))
  241. //foreach ($kursy as $kurs => $kursy) {
  242. //if ($kursy[$kurs][1]<>"" && $kursy[$kurs][2]<>"")
  243. // {$nn=1;}
  244. //}
  245. //if ($kursy[0][1]<>"")
  246. if ($nn==1)
  247.  
  248. {
  249. asort ($kursy);
  250.  
  251. $sum=0;
  252. $sk=0;
  253. $n=0;
  254. foreach($kursy as $key => $val)
  255.   {
  256.  
  257. $res=$kursy[$key][2];
  258. $print1=1;
  259. $print=$kursy[$key][1];
  260.          if ($print<1) {$print1=(1/$print);
  261. $print=1;
  262. }
  263.  
  264. $reserve=round($res,2);
  265. if ($reserve<=0) {$reserve=0;}
  266.  
  267. $wmid = @getpage('http://stats.wmtransfer.com/Levels/pWMIDLevel.aspx?wmid='.$obmennik[$key]["wmid"].'&w=35&h=18&bg=0XDBE2E9');
  268.    $img = @imagecreatefromstring($wmid);
  269.    for ($i = 4; $i < 35; $i++)
  270. {
  271. for ($j = 3; $j < 15; $j++)
  272. {
  273. $se[$i][$j] = (@imagecolorat ($img, $i, $j));
  274.         }
  275.          }
  276.          $is = false;
  277.          $w = '';
  278.  
  279.               if ( (itfalse(4) ==6 ) and (itfalse(5) ==7 ) and (itfalse(6) ==1 ) and (itfalse(7) ==2 ) and (itfalse(8) == 7 )  )
  280.             {
  281.               $is = true;
  282.               $w='no';
  283.             }
  284.  
  285.          if (!( itfalse(18) or itfalse(20) or itfalse(19) or ($is) ) )
  286.          {
  287.               //one digit
  288.  
  289.                   $p1 =  itfalse(23,$se);
  290.                   $p2 =   itfalse(28,$se);
  291.                   $w = (iscount($p1, $p2));
  292.                   $is = true;
  293.          }
  294.  
  295.          if ( ! ( itfalse(13) or itfalse(14) or itfalse(12) or ($is)  )   )
  296.          {
  297.               //two digit
  298.  
  299.                   $p1 =  itfalse(17,$se);
  300.                   $p2 =   itfalse(22,$se);
  301.                   $w = (iscount($p1, $p2));
  302.  
  303.                  $p1 =  itfalse(25,$se);
  304.                   $p2 =   itfalse(30,$se);
  305.                   $w .= (iscount($p1, $p2));
  306.                   $is = true;
  307.          }
  308.  
  309.           if (!( itfalse(7) or itfalse(8) or itfalse(6) or ($is) ) )
  310.          {
  311.  
  312.               //tree digit
  313.                    $p1 = itfalse(11,$se);
  314.                   $p2 =  itfalse(16,$se);
  315.                  $w  = (iscount2($p1, $p2));
  316.  
  317.                  $p1 =  itfalse(18,$se);
  318.                   $p2 =  itfalse(23,$se);
  319.                   $w.=(iscount2($p1, $p2));
  320.  
  321.                   $p1 =  itfalse(25,$se);
  322.                   $p2 =  itfalse(30,$se);
  323.                   $w.= (iscount2($p1, $p2));
  324.                    $is = true;
  325.          }
  326.          if ($is == false)
  327.          {
  328.  
  329.              $p1 = itfalse(6,$se);
  330.                   $p2 =  itfalse(11,$se);
  331.                   $w = (iscount2($p1, $p2));
  332.  
  333.                   $p1 = itfalse(13,$se);
  334.                   $p2 =  itfalse(18,$se);
  335.                   $w.= (iscount2($p1, $p2));
  336.  
  337.                   $p1 = itfalse(20,$se);
  338.                   $p2 =  itfalse(25,$se);
  339.                   $w.= (iscount2($p1, $p2));
  340.  
  341.                   $p1 = itfalse(27,$se);
  342.                   $p2 =  itfalse(32,$se);
  343.                   $w.= (iscount2($p1, $p2));
  344.          }
  345.                      
  346.  
  347. echo'      
  348. <tr class="row" onClick="f_cl('.$key.')">
  349. <td>&nbsp;'.$obmennik[$key]["name"].'</td>
  350. <td><b>'.number_format (round($print,2),2).'</b> '.$decode[$c1].'</td>
  351. <td><b>'.number_format (round($print1,2),2).'</b> '.$decode[$c2].'</td>
  352. <td class="alignright">'.number_format ($reserve,2).'</td>
  353. <td class="alignright">'.$w.'</td>
  354. </tr>';
  355.  
  356. $sum2=$sum2+$reserve;
  357. if ($print1==1){
  358. $sum1=$print*$reserve;
  359. }
  360. else {
  361. $sum1=$print1*$reserve;
  362. }
  363. $n=$n+1;
  364. $sum=$sum+$sum1;
  365. }
  366. $end = microtime(true);
  367. $time = date("H:i:s");
  368. echo '</tbody></table><br><br>';
  369. echo ('<h2>Статистика</h2><br>' );
  370. echo ('Всего обменных пунктов: <b>'.$n.'</b><br>' );
  371. echo ('Всего резервов: <b>'.number_format (round($sum2,2),2).' '.$decode[$c2].'</b><br>');
  372. echo ('Cредний курс <b>'.$decode[$c1].'/'.$decode[$c2].'</b> с учетом резервов: <b>'.number_format(round(($sum/$sum2),4),2).'</b><br>');
  373. echo ('Обновление: <b>'.$time.'</b><br>' );
  374. echo ('Время выполнения скрипта: <b>'.(round($end-$start, 4)).' c</b><br>');
  375. }
  376. else {echo '<tr><td></td></tr></tbody></table><br><b>Обмен в данном направлении не производится ни одним из имеющихся в базе обменных пунктов</b><br><br>';};
  377. ?>
  378. <br>
  379. </body>
  380. </html>
  381.  
  382.  
tgcoin Отправлено: 12 Февраля, 2012 - 09:45:21 • Тема: помогите сделать быстрее загрузку • Форум: Напишите за меня, пожалуйста

Ответов: 3
Просмотров: 63
мой сайт http://black[dot]volyn[dot]net/mobiles/exchange.php
почему то долго загружается как сделать быстрее загрузку?
tgcoin Отправлено: 11 Февраля, 2012 - 20:59:10 • Тема: сервис обой • Форум: Напишите за меня, пожалуйста

Ответов: 3
Просмотров: 31
например есть папка root в этой папке есть картинки
как сделать чтобы не писать так
<img src="images/thumb1.jpg" alt="Фотография 1" width="120" height="120" />
а чтобы загрузил картинку в папку и оно отоброжается сама на сайте
tgcoin Отправлено: 10 Февраля, 2012 - 15:39:27 • Тема: помогите с 500 ошибкой • Форум: Напишите за меня, пожалуйста

Ответов: 6
Просмотров: 42
да ни я программист просто вспомнил в старых версиях php работало норм
или я ошибаюсь?
tgcoin Отправлено: 10 Февраля, 2012 - 15:34:09 • Тема: помогите с 500 ошибкой • Форум: Напишите за меня, пожалуйста

Ответов: 6
Просмотров: 42
$_SERVER ведь и без глобал супер глобальный?
tgcoin Отправлено: 10 Февраля, 2012 - 15:31:06 • Тема: помогите с 500 ошибкой • Форум: Напишите за меня, пожалуйста

Ответов: 6
Просмотров: 42
global $_SERVER['DOCUMENT_ROOT'];
вот из за этой строки выдаётся 500 ошибка
как исправить просто global убрать?
tgcoin Отправлено: 08 Февраля, 2012 - 17:56:38 • Тема: помоги найти баг и исправить • Форум: Напишите за меня, пожалуйста

Ответов: 5
Просмотров: 57
и что делать весь код дать?
tgcoin Отправлено: 08 Февраля, 2012 - 17:51:37 • Тема: помоги найти баг и исправить • Форум: Напишите за меня, пожалуйста

Ответов: 5
Просмотров: 57
там в вмиде должно быть а вмр 13
tgcoin Отправлено: 08 Февраля, 2012 - 17:32:23 • Тема: помоги найти баг и исправить • Форум: Напишите за меня, пожалуйста

Ответов: 5
Просмотров: 57
вот мой сайт http://name-co[dot]ru
проблема где цифра 13 тоесть я ввожу R24724959760
тут только 12 цифр помоги исправить баг если надо код скину
CODE (htmlphp):
скопировать код в буфер обмена
  1.  
  2. // Функция проверяет строку $data на возможность быть WMID'ом или номером кошелька WebMoney (допускаются типы: ZERUBYG)
  3. function is_valid_purse_or_wmid($data) {
  4. if (strlen($data)==12) return 'wmid';
  5. else // проверяем первый символ
  6. if ( (strlen($data)==13) AND (strpos('ZERUBYGCDzerubygcd',substr($data,0,1))!==false) ) return 'purse'; // отсекаем (недопустимый код кошелька)
  7. else return false;
  8. };
  9.  
tgcoin Отправлено: 08 Февраля, 2012 - 07:35:51 • Тема: Оцените сервис информеров icq • Форум: Наработки по собственным проектам

Ответов: 0
Просмотров: 928
сайт писал первый раз так что не оценивайте грубо
http://name-co[dot]ru
Если что то найдёте какие то баги можете написать поправим вместе
Спасибо за ранее
tgcoin Отправлено: 08 Февраля, 2012 - 07:29:08 • Тема: обратная связь • Форум: Напишите за меня, пожалуйста

Ответов: 4
Просмотров: 64
спасибо уже сделал сам

Страниц (6): [1] 2 3 4 5 6 »
Powered by PHP  Powered By MySQL  Powered by Nginx  Valid CSS  RSS

 
Powered by ExBB FM 1.0 RC1. InvisionExBB