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) | Žaliems |
Autorius: dknight | Peržiūrų: 1820 |
dknight Narys Žalias Pranešimai: 18 Įstojęs: 2009 Rugp. 25 18:08:19 | |
kaip padidint weba nu kad butu didesnis dizainas nes db lb mazas meniu theme kazko yra bandziau irasyt $theme_width = "100%"; bet nepadejo visteik toks pats mazas web gal kas galit padet? |
|
Deiviux.eu Narys Tankas Pranešimai: 1882 Įstojęs: 2007 Geg. 2 13:05:17 | |
Ir panašiai dar nežinau tiksliai bet bandyk įvairius skaičius kol gausis |
|
dknight Narys Žalias Pranešimai: 18 Įstojęs: 2009 Rugp. 25 18:08:19 | |
bandziau visaip rasyt..visteik toks pat mazas o gal znt kur gaut tokias paneles sonuos kaip cshata.lt |
|
Jaunelis Narys Antras po Dievo Pranešimai: 4735 Įstojęs: 2007 Rugs. 23 08:09:32 | |
imesk theme.php čia (kodą) code and design solutions tinklalapių kūrimas |
|
dknight Narys Žalias Pranešimai: 18 Įstojęs: 2009 Rugp. 25 18:08:19 | |
<?php if (!defined("IN_FUSION")) { die("Access Denied"); } define("THEME_WIDTH", "100%"); define("THEME_BULLET", "<span class='bullet'>·</span>"); require_once INCLUDES."theme_functions_include.php"; //v7 sublinks function thesublinks($sep="·",$class="") { echo "<script type='text/javascript' src='".THEME."/fader.js'></script>"; $i = 0; $res = ""; $sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' AND ".groupaccess('link_visibility')." AND link_url!='---' ORDER BY link_order ASC"); if (dbrows($sres)) { while($sdata = dbarray($sres)) { if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; } $link_target = $sdata['link_window'] == "1" ? " target='_blank'" : ""; $link_class = $class ? " class='$class'" : ""; if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) { $res .= "<a href='".$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>"; } else { $res .= "<a href='".BASEDIR.$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>"; } $i++; } } if ($i != 0) { return $res; } else { return " "; } } function render_page($license=false) { global $settings, $main_style, $locale; //Header echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n"; echo "<td class='full-header'></td>\n"; echo "</tr>\n</table>\n"; //sublinks css echo "<table width='".THEME_WIDTH."' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td>"; echo "<div id='altlinkler'>"; echo "<ul><li>".thesublinks("</li>\n<li>"); echo "</li></ul><div class='clear-both'> </div></div>"; echo "</td></tr></table>\n"; //Content echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center' class='$main_style'>\n<tr>\n"; if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; } echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>"; if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; } echo "</tr>\n</table>\n"; //Footer echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n"; echo "<td align='center' class='bottom-footer'><br />".stripslashes($settings['footer']); if (!$license) { echo "Sukure by <a href='Darkangell'>darkangell</a> <br />\n".showcopyright(); } echo "</td>\n"; echo "</tr>\n</table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; echo "<td class='capmain-left'></td>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "<td class='capmain-right'></td>\n"; echo "</tr>\n</table>\n"; echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n"; echo "<td class='capmain-center-left'></td>\n"; echo "<td class='main-body middle-border'>".$news."</td>\n"; echo "<td class='capmain-center-right'></td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='capmain-bottom-left'></td>\n"; echo "<td align='center' class='news-footer middle-border'>\n"; echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']); echo "</td>\n"; echo "<td class='capmain-bottom-right'></td>\n"; echo "</tr>\n</table>\n"; } function render_article($subject, $article, $info) { echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n"; echo "<td class='capmain-left'></td>\n"; echo "<td class='capmain'>".$subject."</td>\n"; echo "<td class='capmain-right'></td>\n"; echo "</tr>\n</table>\n"; echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n"; echo "<td class='capmain-center-left'></td>\n"; echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n"; echo "<td class='capmain-center-right'></td>\n"; echo "</tr>\n<tr>\n"; echo "<td class='capmain-bottom-left'></td>\n"; echo "<td align='center' class='news-footer'>\n"; echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']); echo "</td>\n"; echo "<td class='capmain-bottom-right'></td>\n"; echo "</tr>\n</table>\n"; } function opentable($title) { echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; echo "<td class='capmain-left'></td>\n"; echo "<td class='capmain'>".$title."</td>\n"; echo "<td class='capmain-right'></td>\n"; echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n"; echo "<td class='capmain-center-left'></td>\n"; echo "<td class='main-body'>\n"; } function closetable() { echo "</td>\n"; echo "<td class='capmain-center-right'></td>\n"; echo "</tr><tr>\n"; echo "<td class='capmain-bottom-left'></td>\n"; echo "<td class='news-footer'></td>\n"; echo "<td class='capmain-bottom-right'></td>\n"; // echo "</tr><tr>\n"; echo "</tr>\n</table>\n"; } function openside($title, $collapse = false, $state = "on") { global $panel_collapse; $panel_collapse = $collapse; echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; echo "<td class='scapmain-left'></td>\n"; echo "<td class='scapmain'>$title</td>\n"; if ($collapse == true) { $boxname = str_replace(" ", "", $title); echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n"; } echo "<td class='scapmain-right'></td>\n"; echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n"; echo "<td class='scapmain-center-left'></td>\n"; echo "<td class='side-body'>\n"; if ($collapse == true) { echo panelstate($state, $boxname); } } function closeside() { global $panel_collapse; if ($panel_collapse == true) { echo "</div>\n"; } echo "</td>\n"; echo "<td class='scapmain-center-right'></td>\n"; echo "</tr><tr>\n"; echo "<td class='scapmain-bottom-left'></td>\n"; echo "<td class='side-footer'></td>\n"; echo "<td class='scapmain-bottom-right'></td>\n"; echo "</table>\n"; } ?>
|
|
iSoon VIP narys Kapitonas Pranešimai: 568 Įstojęs: 2009 Lie. 23 15:07:37 | |
dėk tarp code tagu www.mond.lt / www.l2failai.lt |
|
Jaunelis Narys Antras po Dievo Pranešimai: 4735 Įstojęs: 2007 Rugs. 23 08:09:32 | |
i code tagus dėk ir išjunk smiles šiame post'ė //sublinks css (sub meniu kaip suprantu) Gali daryti procentais pvz 100% jaigu tau neišsitampo pagal norima dydi tiesiog rašyk paprastai pvz 100 (paryškintose vietose) code and design solutions tinklalapių kūrimas Redagavo Jaunelis 2009 Rugp. 29 20:08:52 |
|
dknight Narys Žalias Pranešimai: 18 Įstojęs: 2009 Rugp. 25 18:08:19 | |
o kurioj vietoj? tarp kabuciu? |
|
dknight Narys Žalias Pranešimai: 18 Įstojęs: 2009 Rugp. 25 18:08:19 | |
tada arba perdaug pasididina ir buna baltas fonas apascioj arba taip pat viskas noreciau kaip cshata butu didele tema tokia |
|
mXt Narys Viršesnis už Dievą Pranešimai: 5775 Įstojęs: 2006 Bir. 9 16:06:09 | |
theme_width irasai norima dydi PIKSELIAIS, tada prasivalai cookies ir vuolia. ex best admin! Redagavo mXt 2009 Spa. 24 21:10:52 |
Peršokti į forumą: |