Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Bendri PHP-F klausimai |
Autorius: Mazvydas_P | Peržiūrų: 611 |
Mazvydas_P Narys Spalvotas Pranešimai: 57 Įstojęs: 2011 Vas. 7 19:02:43 | |
Stai yra toks dalykas esu sukures svetaine ir uzmetes dizaina reikia sumazinti dizaino dydi kas issitektu per ekrana stai failo kodas jej gali sutvarkykit CIA THEME.PHP FAILAS KUR CIA REIKIA PATAISYTI? ----------------------------------------------------------------------------------------------------------------- <?php if (!defined("IN_FUSION")) { die("Access Denied"); } define("THEME_WIDTH", "1100"); define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />"); require_once INCLUDES."theme_functions_include.php"; function render_page($license=false) { global $settings, $main_style; //Header echo "<table align='center' cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n"; echo "<td>\n"; echo "<table class='full-header' align='center' cellpadding='0' cellspacing='0' width='1150'>\n<tr>\n"; echo "<td style='padding-left:580px; padding-bottom:30px;'>"; include THEME."nauji.php"; echo "</td>"; echo "<td style='padding-right:100px; padding-bottom:90px;'>"; include THEME."pop.php"; echo "</td>"; echo "</tr>\n</table>\n"; echo "</td>\n</tr>\n</table>\n"; echo "<table align='center' cellpadding='0' cellspacing='0' width='1100'>\n<tr>\n"; echo "<td>"; include THEME."nuorodos.php"; echo"</td>\n"; echo "</tr>\n</table>\n"; //Content echo "<table cellpadding='5' cellspacing='0' width='1100' class='main1-bg' align='center'>\n<tr>\n"; if (LEFT) { echo "<td valign='top' align='right'><table cellpadding='0' cellspacing='0'><tr><td class='side-bg-top'></td></tr><tr><td class='side-border-left'>".LEFT."</td></tr><tr><td class='side-bg-bottom'></td></tr></table></td>"; } echo "<td valign='top' align='center'><table cellpadding='0' cellspacing='0'><tr><td class='main-bg-top'></td></tr><tr><td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td></tr><tr><td class='main-bg-bottom'></td></tr></table></td>"; if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; } echo "</tr>\n</table>\n"; //Footer echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' width='1100' align='center' class='footer'>\n<tr>\n"; echo "<td>\n"; echo "</td>\n</tr>\n</table>\n"; echo "</td>\n</tr>\n</table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='827'>\n<tr>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='news-bg-top'></td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".$news."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='news-bg-bottom'></td>\n"; echo "</tr>\n"; echo "</td>\n</tr>\n</table>\n"; } function render_article($subject, $article, $info) { echo "<table cellpadding='0' cellspacing='0' width='827'>\n<tr>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='news-bg-top'></td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='news-bg-bottom'></td>\n"; echo "</tr>\n"; echo "</td>\n</tr>\n</table>\n"; } function opentable($title) { echo "<table cellpadding='0' cellspacing='0' width='827'>\n<tr>\n"; echo "<td class='capmain'>".$title."</td></tr><tr>\n"; echo "<td class='news-bg-top'></td>\n"; echo "</tr>\n"; echo "</tr>\n<tr>\n"; echo "<td class='main-body'>\n"; } function closetable() { echo "</td>\n</tr><tr><td class='news-bg-bottom'></td></tr>\n"; echo "</tr></table>\n"; } function openside($title, $collapse = false, $state = "on") { global $panel_collapse; $panel_collapse = $collapse; echo "<table cellpadding='0' cellspacing='0' width='213' class='border'>\n<tr>\n"; echo "<td class='scapmain'>".$title."</td>\n"; if ($collapse == true) { $boxname = str_replace(" ", "", $title); echo "<td align='right'>".panelbutton($state,$boxname)."</td>\n"; } echo "</tr>\n<tr>\n"; echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n"; if ($collapse == true) { echo panelstate($state, $boxname); } } function closeside($collapse = false) { global $panel_collapse; if ($panel_collapse == true) { echo "</div>\n"; } echo "</td>\n</tr>\n</table>\n"; } function openside_header($title) { echo "<table align='center' cellpadding='center' cellspacing='0'> <tr> <td align='center'class='side-body-panel'>\n"; } function closeside_header() { echo "</td> </tr> </table>\n"; tablebreak(); } function openside_panel($title) { echo "<table align='center' cellpadding='center' cellspacing='0' width='200'> <tr> <td class='side-body-panel'>\n"; } function closeside_panel() { echo "</td> </tr> </table>\n"; tablebreak(); } ?> :) Redagavo Mazvydas_P 2011 Kov. 9 18:03:02 |
minimukas Narys Terminatorius Pranešimai: 1631 Įstojęs: 2009 Bir. 11 23:06:46 | |
Jei dizaino dydi nori regulioti tai theme.php faila turi redaguot 0 nusirasinek.lt - pratybų atsakymai. REFERALINĖS NUORODOS DRAUDŽIAMOS - SMS hostingas |
Peršokti į forumą: |