w0rm
Narys
Spalvotas
Pranešimai: 44
Įstojęs: 2009 Bir. 23 00:06:26
|
1.# bandau pasidaryti kaip sito supporto profile.php kat rodytu skype: nickas ir paspaudus ant jo pradetu chata su tuo asmeniu
stai kodas, kuris maneu kad veiks, bet xuj jis ten veike, error
prasyciau pataisyti
kodas:
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>Skype:</b></td>
<td class='tbl1'>
".($data['user_aim'] ? "
<a href='skype:".$data['user_aim']."?chat'>.$data['user_aim']."</a>"
</td>
</tr>
|
_Tomas
VIP narys
Terminatorius
Pranešimai: 1319
Įstojęs: 2007 Rugp. 26 20:08:12
|
<tr>
<td width='1%' class='tbl1' style='white-space:nowrap'><b>Skype:</b></td>
<td class='tbl1'>
".($data['user_aim'] ? "
<a href='skype:".$data['user_aim']."?chat'>".$data['user_aim']."</a>" : $locale['u048'])."
</td>
</tr>
|
w0rm
Narys
Spalvotas
Pranešimai: 44
Įstojęs: 2009 Bir. 23 00:06:26
|
Idekit sita koduka i theme.php
Noriu kad ties ta linija (ant juodos linijos) butu migtukai, paskui juos nusipiesiu....
Paceiksliukas:
Kodukas:
<tr>
<td width=\"987\">
<img src=\"".THEME."images/header.png\" border=\"0\" width=\"800\" height=\"319\" alt=\"\" usemap=\"#menu\" />
<map name=\"menu\">
<area shape=\"circ\" coords=\"64,23,50\" href=\"".BASEDIR."index.php\" />
<area shape=\"circ\" coords=\"175,21,55\" href=\"".BASEDIR."forum/index.php\" />
<area shape=\"circ\" coords=\"415,24,52\" href=\"".BASEDIR."downloads.php\" />
<area shape=\"circ\" coords=\"531,24,54\" href=\"".BASEDIR."search.php\" />
</map>
</td>
</tr>
Theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#D7D7D7";
$body_bg = "#525252";
$theme_width = "804";
$theme_width_l = "140";
$theme_width_r = "140";
function render_header($header_content) {
global $theme_width,$aidlink,$userdata,$msg_count,$settings,$db_prefix,$uidlink,$result;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='footer'>
<tr>
<td align='left' width='200' style='padding-left: 30px;'>Code: DeeJay</td>
<td align='center' style='padding-center: 150px;'>".stripslashes($settings['footer'])."
<td align='right' width='200' style='padding-right: 30px;'>Engine: <a href='http://php-fusion.co.uk/'>PHP-Fusion</a></td>
</tr>
</table>
</td>
</tr>
</table><br>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='596'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='left' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·");
echo "</td>
</tr>
</table>\n";
tablebreak();tablebreak();
}
function render_article($subject, $article, $info) {
echo "<table width='536' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
tablebreak();tablebreak();
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='596'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr><tr>
<td align='center' class='news-footer'></td></tr>
</table>\n";
tablebreak();tablebreak();
}
function openside($title) {
echo "</center><table cellpadding='0' cellspacing='0' width='186' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'></center>\n";
}
function closeside() {
echo "</td>
</tr><tr>
<td align='center' class='a-footer'></td></tr>
</table>\n";
tablebreak();tablebreak();tablebreak();tablebreak();
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='596' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<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<tr>\n<td height='5'></td>\n</tr>\n</table>\n";
}
?>
Aciu, nes nlb suprantru kur ji grusti :(
|
Žmogus
Narys
Viršesnis už Dievą
Pranešimai: 5621
Įstojęs: 2006 Gru. 8 17:12:08
|
function render_header($header_content) {
global $theme_width,$aidlink,$userdata,$msg_count,$settings,$db_prefix,$uidlink,$result;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width=\"987\">
<img src=\"".THEME."images/header.png\" border=\"0\" width=\"800\" height=\"319\" alt=\"\" usemap=\"#menu\" />
<map name=\"menu\">
<area shape=\"circ\" coords=\"64,23,50\" href=\"".BASEDIR."index.php\" />
<area shape=\"circ\" coords=\"175,21,55\" href=\"".BASEDIR."forum/index.php\" />
<area shape=\"circ\" coords=\"415,24,52\" href=\"".BASEDIR."downloads.php\" />
<area shape=\"circ\" coords=\"531,24,54\" href=\"".BASEDIR."search.php\" />
</map>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
}
|
w0rm
Narys
Spalvotas
Pranešimai: 44
Įstojęs: 2009 Bir. 23 00:06:26
|
Kaip centruot sita visa koda ?
echo "<table width='100%'>
<tr>
<td width='33%'>";
openside("<center>New</center>");
echo "<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 100");
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'], 40)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='33%'>";
openside("<center>Top</center>");
echo "<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 100");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 40);
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();
echo "</tr>
</table>";
bl tai negi nieks negali sucentruot ? :o
5 žinutė iš 6 bet 6 tai nera :DDd
|
And2s
VIP narys
Pulkininkas
Pranešimai: 329
Įstojęs: 2009 Bal. 30 19:04:04
|
echo "<table align='center' width='100%'>
<tr>
<td width='33%'>";
openside("<center>New</center>");
echo "<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_datestamp DESC LIMIT 100");
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'], 40)."</a>
</td>
<td align='right'>".$data['download_count']."</td>
</tr>";
}
echo "</table>";
} else {
echo "<div style='text-align:center'>".$locale['004']."</div>\n";
}
echo "";
closeside();
echo "</td>
<td width='33%'>";
openside("<center>Top</center>");
echo "<div class='side-label'><b></b></div>\n";
$result = dbquery("SELECT * FROM ".$db_prefix."downloads ORDER BY download_count DESC LIMIT 100");
if (dbrows($result) != 0) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data = dbarray($result)) {
$itemsubject = trimlink($data['download_title'], 40);
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();
echo "</tr>
</table>";
|
w0rm
Narys
Spalvotas
Pranešimai: 44
Įstojęs: 2009 Bir. 23 00:06:26
|
kai as nevykelis... net nemaceu tos vietos
nelabaij panasu kad centre butu ka daryt ?
|
bad_user
Narys
Antras po Dievo
Pranešimai: 4956
Įstojęs: 2007 Spa. 26 20:10:01
|
<td width='33%' align='center'> (abiems)
Rules: 21 & 22 Read first! |
w0rm
Narys
Spalvotas
Pranešimai: 44
Įstojęs: 2009 Bir. 23 00:06:26
|
kai pavalgysiu pazesiu
Edit: Mldc SoNG Caca katinas
Edit2: 4.# klausimas: Kokia gereuse talpykla, kurioje ilgai islaiko idetus failus, ir siuncia bent 100kb/s greiciu ? (talpinsiu muzika)
|
zDon
Narys
Terminatorius
Pranešimai: 1625
Įstojęs: 2008 Bir. 20 03:06:25
|
mediafare.com
Dj zDon @ FACEBOOK |
w0rm
Narys
Spalvotas
Pranešimai: 44
Įstojęs: 2009 Bir. 23 00:06:26
|
gal zinot kokiu downloaderiu is youtubo kad iskart padarytu mp3 faila? nes kai su vdownloader siunciuos tai klipas uzema 50mb o mp3 failas net 15mb nors daina tiktai 4min
Edit: 11 žinutė iš 14 bet sita zinute juk paskutine
|
w0rm
Narys
Spalvotas
Pranešimai: 44
Įstojęs: 2009 Bir. 23 00:06:26
|
kaip balta ar kita spalva padaryti permatoma (transparent) per photoshopa ? (be trintuko naudojimo)
|
Meskis
Narys
Generolas
Pranešimai: 939
Įstojęs: 2008 Spa. 10 17:10:52
|
Opacity sumažink
|
Pakartoti slaptažodį
Moderatorius
Viršesnis už Dievą
Pranešimai: 5188
Įstojęs: 2008 Rugp. 6 22:08:39
|
Arba fill.
|
w0rm
Narys
Spalvotas
Pranešimai: 44
Įstojęs: 2009 Bir. 23 00:06:26
|
dareu kitaip: 1 naudojau magic wade tool o tada su trintuku, easy ant perfect beveik
Pries jusu pagalba deejay sukurtu theme atrode taip:
po jusu pagalbos atrode taip:
Aisq ir pats taip galejau padaryt bet tingejau ziuret, kadangi yra uz mane "gudresniu kurie pazejo ir be manes
Vertinam, ir sakom kad didelis sudas
|