Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: #ATNAUJINTA# Swizz klausimai
Parašė SWIZZ· 2009 Bir. 13 11:06:51
#1
Sveiki,
Dabar visus klausimus iškylusius redaguojant temą rašysiu čia!
1# Kaip padaryti, kad Paneles tie paveikliukai cellpic (ar kaip ten :D) ir Naujienu būtu skirtinigi, nes dabar jie vienoti ir kartojasi... :|
Jei kas nors supratot pasakykit jei reikia theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Webmaster Files Theme for PHP-Fusion v6.x |
| Modified by:http://www.webmaster-files.com |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2007 |
| web: http://phpfusion-themes.com |
| email: webmaster@phpfusion-themes.com |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#555555";
$body_bg = "#FEFEFE";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
// Right Panels off in Forum Mode
//$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='body-border'>
<tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>
<td><table cellpadding='0' cellspacing='0' width='100%'><tr>
<td><div align='right' id='clockbar'><div class='clockbarcolor'>
<div id='Clock'></div><script type='text/javascript'>
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December');
//-->
</script>
<script type='text/javascript' src='".THEME."/clock/clock.js'></script></div></div>
<div align='right' id='pageheader'>
<table style='WIDTH: 100%; height:50px;' cellSpacing='0' cellPadding='0' border='0'><tr>
<td style='WIDTH: 45%'><a href='".BASEDIR."index.php'><img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0' width='400' height='74'></a>
</td></tr>
</table>
</div>
<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='subheader'>".showsublinks(" - ","subheader-text")."</td>
<td class='subheader' style='vertical-align:middlie;' align='right'>
<form action='".BASEDIR."search.php?stype=f' method='post'>
<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>
<td align='right'><b>Search</b> <input type='text' class='input' name='stext' value='Search Forums' onBlur=\"if(this.value=='') this.value='Search Forums';\" onFocus=\"if(this.value=='Search Forums') this.value='';\">
<input name='option' class='submit' type='submit' value='Search'>
</td></tr>
</table>
</form>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td align='center' class='footer'>";
if (!$license) { echo showcopyright()."<br><br>\n"; } echo showcounter()."<br><br><b>Webmaster Files</b> Theme designed by: <a target='_blank' href='http://phpfusion-themes.com'>Fuzed Themes</a>";
echo "</td></tr>
</table>
</td></tr>
</table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>
<td class='tableHeadingBG'><div class='tableHeading'>$subject</div>
</td></tr>
<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>$news</td></tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellSpacing='0' cellPadding='0' border='0'><tr>
<td align='center'>";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td></tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>
<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>
<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellSpacing='0' cellPadding='0' border='0'><tr><td align='center'>";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td></tr>
</table>\n";
}
function opentable($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
</tr>
<tr><td class='td-cell1' vAlign='top'>";
}
function closetable() {
echo "</td></tr>
</table>\n";
}
function openside($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
</tr>
<tr><td class='td-cell1' vAlign='top'>";
}
function closeside() {
echo "</td></tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
<td align='right' class='tableHeadingBG'>".panelbutton($state,$boxname)."</td>
</tr>
<tr><td class='td-cell1' vAlign='top' colspan='2'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div></td></tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
echo "<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Čia jei ką redauguoju Webmaster temą.
Man reikėtu kad kas pabrauktu raudonai tas vietas kurias reikia keisti ;)
Ačiū kas atsakys
+10 :)
Redagavo SWIZZ· 2009 Lap. 24 17:11:50
Parašė SWIZZ· 2009 Bir. 13 11:06:48
#2
niekas negalit padėti? :( ?|
Parašė Funo· 2009 Bir. 13 11:06:31
#3
baik double postinti juk viena karta parasiai ir gana.
Parašė And2s· 2009 Bir. 13 12:06:27
#4
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: nick@php-fusion.co.uk |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Webmaster Files Theme for PHP-Fusion v6.x |
| Modified by:http://www.webmaster-files.com |
|---------------------------------------------|
| author: PHP-Fusion Themes © 2007 |
| web: http://phpfusion-themes.com |
| email: webmaster@phpfusion-themes.com |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#555555";
$body_bg = "#FEFEFE";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
// Right Panels off in Forum Mode
//$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='body-border'>
<tr><td><table cellpadding='0' cellspacing='0' width='100%'><tr>
<td><table cellpadding='0' cellspacing='0' width='100%'><tr>
<td><div align='right' id='clockbar'><div class='clockbarcolor'>
<div id='Clock'></div><script type='text/javascript'>
<!--
var DayNam = new Array(
'Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var MnthNam = new Array(
'January','February','March','April','May','June','July','August','September','October','November','December');
//-->
</script>
<script type='text/javascript' src='".THEME."/clock/clock.js'></script></div></div>
<div align='right' id='pageheader'>
<table style='WIDTH: 100%; height:50px;' cellSpacing='0' cellPadding='0' border='0'><tr>
<td style='WIDTH: 45%'><a href='".BASEDIR."index.php'><img alt='".$settings[sitename]."' src='".THEME."images/logo.jpg' border='0' width='400' height='74'></a>
</td></tr>
</table>
</div>
<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='subheader'>".showsublinks(" - ","subheader-text")."</td>
<td class='subheader' style='vertical-align:middlie;' align='right'>
<form action='".BASEDIR."search.php?stype=f' method='post'>
<table cellSpacing='0' width='100%' cellPadding='0' border='0'><tr>
<td align='right'><b>Search</b> <input type='text' class='input' name='stext' value='Search Forums' onBlur=\"if(this.value=='') this.value='Search Forums';\" onFocus=\"if(this.value=='Search Forums') this.value='';\">
<input name='option' class='submit' type='submit' value='Search'>
</td></tr>
</table>
</form>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>
<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td align='center' class='footer'>";
if (!$license) { echo showcopyright()."<br><br>\n"; } echo showcounter()."<br><br><b>Webmaster Files</b> Theme designed by: <a target='_blank' href='http://phpfusion-themes.com'>Fuzed Themes</a>";
echo "</td></tr>
</table>
</td></tr>
</table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>";
if ($info['news_id'] == '14') {
echo "<td class='tableHeadingBG'><div class='tableHeading'>$subject</div>
</td>";
} elseif($info['news_id'] == '15') {
echo "<td class='tableHeadingBG'><div class='tableHeading'>$subject</div>
</td>";
} ///ir tt..
echo "</tr>
<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>$news</td></tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellSpacing='0' cellPadding='0' border='0'><tr>
<td align='center'>";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>
</td></tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table style='WIDTH: 100%;' cellSpacing='0' cellPadding='2' border='0'><tr>
<td class='tableHeadingBG'><div class='tableHeading'>$subject</div></td></tr>
<tr><td class='td-cell1' style='WIDTH: 100%' vAlign='top'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr>
<tr><td class='td-cell2' align='center' style='WIDTH: 100%'>
<table cellSpacing='0' cellPadding='0' border='0'><tr><td align='center'>";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>
</td></tr>
</table>\n";
}
function opentable($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
</tr>
<tr><td class='td-cell1' vAlign='top'>";
}
function closetable() {
echo "</td></tr>
</table>\n";
}
function openside($title) {
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
</tr>
<tr><td class='td-cell1' vAlign='top'>";
}
function closeside() {
echo "</td></tr>
</table>\n";
tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table style='WIDTH: 100%' cellSpacing='0' cellPadding='0' border='0'><tr>
<td class='tableHeadingBG'>
<div class='tableHeading'>$title</div></td>
<td align='right' class='tableHeadingBG'>".panelbutton($state,$boxname)."</td>
</tr>
<tr><td class='td-cell1' vAlign='top' colspan='2'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "</div></td></tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n";
echo "<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Gali darytis pagal naujienos ID.
Redagavo And2s· 2009 Bir. 13 12:06:47
Parašė SWIZZ· 2009 Bir. 13 20:06:27
#5
2# Kaip padaryti, kad BG rodytu paveiksleli nes dabar spalvos kodas yra... :|
Parašė MobyDick· 2009 Bir. 13 20:06:26
#6
body {
font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
font-size:10px;
background-image: url(images/bg.gif);
color:#333;
padding:0px 0px 0px 0px;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
Parašė SWIZZ· 2009 Bir. 13 20:06:43
#7
Ačiū tau +10, bet leido tik +7 :|
Parašė SWIZZ· 2009 Bir. 13 20:06:03
#8
3# Kaip padaryti, kad bg neslankiotu kartu su puslapiu, o stovėtu vietoje? ?|
Parašė MobyDick· 2009 Bir. 13 20:06:58
#9
Tuoj pameginsiu surast
Parašė Nepas· 2009 Bir. 13 20:06:44
#10
background-position: top center;
Parašė MobyDick· 2009 Bir. 13 21:06:05
#11
Nepas neveikia tavo
Parašė Nepas· 2009 Bir. 13 21:06:41
#12
Wtf :|
megink visą :
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 11px;
background-image: url(images/bg.png);
margin: 0px 0px 0px 0px;
background-position: top center;
background-repeat: repeat-no;
kokio didžio pas jus bg tas image ??
Parašė MobyDick· 2009 Bir. 13 21:06:38
#13
font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
font-size:10px;
background-image: url(images/bg.gif);
background-attachment: fixed;
color:#333;
padding:0px;
Va toks man veikia
Parašė SWIZZ· 2009 Bir. 15 19:06:30
#14
4# Kaip padaryti kad Naujausi Siuntiniai ir Top 5 Siuntiniai butu ne kaip atskiros o suglaustos paneles tu tipo viena šalia kitos nu tipo Naujausi Siuntiniai ir šalia iš dešinės TOP 5
Kodas:
opentable("Naujausi Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closetable();
opentable("Top 5 Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closetable();
Kas atsakys +10
Redagavo SWIZZ· 2009 Bir. 15 19:06:02
Parašė ---· 2009 Bir. 15 19:06:10
#15
dek paneles abi i viena table ir tr, ir atskirk td :)
Parašė SWIZZ· 2009 Bir. 15 19:06:02
#16
Gotnix parašė:
dek paneles abi i viena table ir tr, ir atskirk td :)
Galėtum padaryt? :D Nelabai gaudaus...
Parašė SWIZZ· 2009 Bir. 15 20:06:23
#17
5# Kaip padaryti, kad apklausoj butu galima rašyti Komentarus?
P.S. 4# dar laukiu
Parašė SWIZZ· 2009 Bir. 15 21:06:54
#19
5. Ačiū ;) +10
4. Jei gali padaryk ;)
Parašė SWIZZ· 2009 Bir. 15 22:06:56
#20
Sorry už double post, bet niekas negalit padaryti man šita kodą kaip sake Gotnix ar MAnjack?:
opentable("Naujausi Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closetable();
opentable("Top 5 Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closetable();
Prašau
+10
Parašė SWIZZ· 2009 Bir. 16 17:06:13
#21
UP! :(
Parašė Mantas_· 2009 Bir. 16 18:06:14
#22
openside("Naujausi Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closetable();
opentable("Top 5 Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
Parašė SWIZZ· 2009 Bir. 16 18:06:51
#23
maxell parašė:
openside("Naujausi Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closetable();
opentable("Top 5 Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
niekas nepasikeite :(
Parašė SWIZZ· 2009 Bir. 16 18:06:54
#24
Nu padėkit! :(
Parašė SWIZZ· 2009 Bir. 16 21:06:45
#25
UP! Kas nors padės?
P.S. Sorry už 3 postą iš eilės... ;)
Parašė Tomcis· 2009 Bir. 17 19:06:15
#26
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td>";
opentable("Naujausi Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closetable();
echo "</td><td><img src='".THEME."images/blank.gif' alt='' width='3'></td><td>";
opentable("Top 5 Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closetable();
echo"</td></tr></table>";
Redagavo Tomcis· 2009 Bir. 17 21:06:57
Parašė SWIZZ· 2009 Bir. 17 19:06:41
#27
iFack, ačiū kad meginai, bet meta šį errorą:
Parse error: syntax error, unexpected ';' in /home/ztomas/gta-mods.xz.lt/administration/panel_editor.php(111) : eval()'d code on line 3
Parašė Tomcis· 2009 Bir. 17 21:06:06
#28
Taigi viskas veikia, još tvoj raz. Ar net panelės nemoki sukurt...?
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td>";
opentable("Naujausi Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while ($data = dbarray($result)) {
echo "<tr>
<td class='small'>
<img src='".THEME."images/bullet.gif'>
<a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>".trimlink($data['download_title'], 23)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closetable();
echo "</td><td><img src='".THEME."images/blank.gif' alt='' width='3'></td><td>";
opentable("Top 5 Siuntiniai");
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 0,5");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 23);
echo "<tr>\n<td class='small'><img src='".THEME."images/bullet.gif'> <a href='".BASEDIR."downloads.php?cat_id=".$data['download_cat']."&download_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n
<td align='right'>".$data['download_count']."</td>\n</tr>\n";
}
echo "</table>";
} else {
echo "<center>".$locale['004']."</center>\n";
}
closetable();
echo"</td></tr></table>";
Redagavo Tomcis· 2009 Bir. 17 21:06:26
Parašė SWIZZ· 2009 Rugs. 25 16:09:16
#29
6# Klausimas!:
Darau fanų puslapį apie vienus tokius bepročius, ar man reikia jų sutinkimo, kad galėčiau apie juos puslapį kurti? :?
Parašė SWIZZ· 2009 Spa. 24 12:10:59
#30
Swizz parašė:
6# Klausimas!:
Darau fanų puslapį apie vienus tokius bepročius, ar man reikia jų sutinkimo, kad galėčiau apie juos puslapį kurti? :?
Šito nebereikia... ;)
7# Klausimas!:
Reikia radijos paneles kodo kokio nors (ne
php-fusion) paprastam
PHP ar
HTML ;)
Parašė SWIZZ· 2009 Spa. 24 15:10:24
#31
Tai niekas nežinote? :?
Parašė SWIZZ· 2009 Spa. 25 20:10:52
#32
Sorry už 4 postą!
8# Klausimas!:
Jei aš padariau index.php kad img susideliotu paprastai <img src=''> ne į styles.css
Tuos images gali lengvai nusikopijuoti. Kaip padaryti kad neleistu img atverti/kopijuoti...?
(čia HTML/PHP) dizianas NE PHP-FUSION!)
Ant DLE galima su .hitaccess padaryti įrašant kelis žodelius, o čia veiktu?
Ačiū. Kas padės
+10!
Redagavo SWIZZ· 2009 Spa. 25 23:10:09
Parašė 7even· 2009 Spa. 25 21:10:46
#33
Swizz parašė:
Sorry už 3 postą!
8# Klausimas!:
Jei aš padariau index.php kad img susideliotu paprastai <img src=''> ne į styles.css
Tuos images gali lengvai nusikopijuoti. Kaip padaryti kad neleistu img atverti/kopijuoti...? (čia HTML/PHP) dizianas NE PHP-FUSION!)
Ant DLE galima su .hitaccess padaryti įrašant kelis žodelius, o čia veiktu?
Ačiū. Kas padės +10!
sorry, kad nukrypstu nuo temos, bet skaiciuot irgi reikia moket... cia buvo 4 postas...
Parašė SWIZZ· 2009 Spa. 25 23:10:57
#34
Ai nu... Argi niekas nežinote? :?
Parašė Kelmas· 2009 Spa. 26 07:10:59
#35
Aišku kad veiktu, ar bus XUJOV TVS ar
PHP-Fusion vistiek .htaccess veiks!
Parašė SWIZZ· 2009 Spa. 26 11:10:05
#36
Dragelis parašė:
Aišku kad veiktu, ar bus XUJOV TVS ar PHP-Fusion vistiek .htaccess veiks!
O ka į ".htaccess" įrašyti, kad iš index.php apsaugotu paveiksliukus? ?|
Parašė SWIZZ· 2009 Spa. 26 12:10:03
#37
Nebereikia dabar kitas klausimas.
Turiu koda:
<div id='meniu01' >
</div>
<div id='meniu02' >
</div>
<div id='meniu03' >
</div>
<div id='meniu04' >
</div>
<div id='meniu05' >
</div>
<div id='meniu06' >
</div>
<div id='meniu07' >
</div>
<div id='meniu08' >
</div>
<div id='meniu09' >
</div>
Čia mano meniu. Kaip padaryti kad jie eitu ne iš viršaus į apačia, bet susiglaustu ir iš kaires į dešine eitu. Visi paveiksliukai surašyti į styles.css ir nesakykit su jakiais
float, nes kai parašai float:left; reikia atitraukti dar nuo kairės kad butu normaliai su margin-left:**px;, bet jeigu taip padarai su mazesnem rezoliucijomis išsitampo... ;)
Va kaip dabar:
O reikia:
Parašė Žmogus· 2009 Spa. 26 13:10:35
#38
Nu tai parašai dar vieną diva jame parašai widht ir float rodos
Parašė SWIZZ· 2009 Spa. 26 14:10:27
#39
Nu parašai <div id='meniu'> tada visus apgaubi ir gale parašai </div> tada styles.css sukuri
#meniu {
witdh:737px ;
float:left ; (nes nėra center)
}
ir tada jis į kaire pasislenka tada dar pridedi margin-left:**px ;, bet tada kai nusistatai mazas rezoliucijas dizas išsitampo... ;)
Parašė SWIZZ· 2009 Lap. 24 17:11:07
#40
Klausimas. Kaip padaryti, kad linku nei pabrauktu, nei spalvą pakeistu nes dabar:
Ačiū
Redagavo SWIZZ· 2009 Lap. 24 19:11:21
Parašė SWIZZ· 2009 Lap. 24 19:11:56
#41
Klausimas. Kaip padaryti, kad linku nei pabrauktu, nei spalvą pakeistu nes dabar:
Ačiū
Parašė SWIZZ· 2009 Lap. 24 21:11:11
#42
Klausimas. Kaip padaryti, kad linku nei pabrauktu, nei spalvą pakeistu nes dabar:
Ačiū
Parašė SWIZZ· 2009 Lap. 25 16:11:01
#43
Klausimas. Kaip padaryti, kad linku nei pabrauktu, nei spalvą pakeistu nes dabar:
Ačiū
Parašė Narysx· 2009 Lap. 25 16:11:49
#44
Čia
html web?
Parašė blist· 2009 Lap. 25 16:11:23
#45
dėl pabraukimo naudok styles.css "text-decoration: none;", o dėl spalvos paprasčiausiai rašyk į styles.css tai:
a {
color: #spalvos kodas;
}
a:hover {
color: #spalvos kodas kai užeini su pele;
}
Parašė SWIZZ· 2009 Lap. 25 16:11:42
#46
Spalva susitvarkė ačiū, bet pabraukimas neišnyko... ;)
EDIT: Narysx, taip
HTML ;)
EDIT2: SUSITVARKĖ Ačiū tau mediaL +10 jei leis ;)
Jei kam reikės tai text-decoration: none; yrašiau į a { ir a:hover { prie nuorodu spalvų ;)
Redagavo SWIZZ· 2009 Lap. 25 16:11:14
Parašė blist· 2009 Lap. 25 16:11:17
#47
turi veikt, dėk šitą
text-decoration: none; prie
a { ir prie
a:hover {
Parašė SWIZZ· 2009 Gru. 10 20:12:04
#48
Sveiki,
Dar vienas klausimas šį sykį apie domenus.
Taigi nusipirkau pora domenų iš Necty. Atrodo viskas tvarkoje, bet vieną iš šių domenų buvo nuhackines Ultriukas (jis taip sako, bet FTP serveryje tipo "Hacked by Nostesi"). Jis paliko kažkokių failų Necty hoste , kurių neimanoma panaikinti, kad iš FTP išsitrintu gtas.lt domeno aplankalas. Aš pakeičiau domeno DNS ir priparkavau prie TopHOST, bet man meta vis šita dalyką:
http://gtas.lt:2222 (galite pameginti
http://gtas.lt ).
Kaip man padaryti, kad veiktu ant mano hostingo domenas? Arba išvis kaip šį mėšlą sutvarkyt? ?|
Ačiū už atsakymus.
EDIT: Nuhakino tikrai Ultriukas jam katik rašiau ir sakė, kad ten dos užmesti ar kažkas panašaus. Tai kaip man juos nuimti pvž DC nieko negalėtu pagelbėti?
Redagavo SWIZZ· 2009 Gru. 10 20:12:50
Parašė SWIZZ· 2009 Gru. 22 14:12:55
#49
Sveiki,
Taigi iškylo klausimas. Kaip apsaugoti
HTML/CSS template nuo Source (Ctrl+U)?
Nes dabar kai paspaudžiu Source man rodo index failo kodą visą... ;)
Kas padės +10!
Parašė SWIZZ· 2009 Gru. 22 14:12:25
#51
Ačiū, bet čia taip kiekvieną failą reiktu daryti taip? :)
P.S. Tau +10
Parašė Impossibru· 2009 Gru. 22 14:12:29
#52
Jei puslapis tik HMTL tai užkoduoji jį ir fsio.
Parašė ex-it· 2009 Gru. 22 14:12:16
#53
Labai nepatariu naudoti sio dalyko :) Nebent kelioms eilutems kurias nori apsaugoti
Parašė Impossibru· 2009 Gru. 22 14:12:35
#54
ex-it parašė:
Labai nepatariu naudoti sio dalyko :) Nebent kelioms eilutems kurias nori apsaugoti
Argumentuok kodėl nepatari?