Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Mods, Panels & Infusions |
Autorius: deiviux159 | Peržiūrų: 1889 |
deiviux159 Narys Spalvotas Pranešimai: 64 Įstojęs: 2011 Kov. 10 16:03:54 | |
Kaip istaisyti sia panele?yra tokia klaida kad kai paspaudi ant pvz top savaites dainos nenumeta i ta daina,jei nesunku galetumete istaisyti?
|
Narys Kapitonas Pranešimai: 568 Įstojęs: 2009 Lie. 16 13:07:23 | |
Tai gal reiškia tai kad reikia daryti su nukreipiama nuoruoda a href? 0 |
|
Ponas24 Narys Generolas Pranešimai: 934 Įstojęs: 2010 Rugs. 26 14:09:57 | |
if (date("m", time()) != $settings['menesis']) { $result = dbquery("UPDATE ".$db_prefix."downloads SET download_count_m='0'"); $result = dbquery("UPDATE ".$db_prefix."settings SET menesis='".date("m", time())."'"); } if (date("W", time()) != $settings['savaite']) { $result = dbquery("UPDATE ".$db_prefix."downloads SET download_count_s='0'"); $result = dbquery("UPDATE ".$db_prefix."settings SET savaite='".date("W", time())."'"); } echo "<table width='100%'> <tr> <td width='33%'>"; openside("Savaites topas"); echo "<div class='side-label'><b></b></div>\n"; $result = dbquery("SELECT download_cat, download_title, download_count_s FROM ".$db_prefix."downloads ORDER BY download_count_s DESC LIMIT 20"); 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?page_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n <td align='right'>".$data['download_count_s']."</td>\n</tr>\n"; } echo "</table>"; } else { echo "<center>".$locale['004']."</center>\n"; } closeside(); echo "</td> <td width='33%'>"; openside("Menesio topas"); echo "<div class='side-label'><b></b></div>\n"; $result = dbquery("SELECT download_cat, download_title, download_count_m FROM ".$db_prefix."downloads ORDER BY download_count_m DESC LIMIT 20"); 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?page_id=".$data['download_id']."' title='".$data['download_title']."' class='side'>$itemsubject</a></td>\n <td align='right'>".$data['download_count_m']."</td>\n</tr>\n"; } echo "</table>"; } else { echo "<center>".$locale['004']."</center>\n"; } closeside(); echo "</tr> </table>"; Bandyk. 0 |
|
deiviux159 Narys Spalvotas Pranešimai: 64 Įstojęs: 2011 Kov. 10 16:03:54 | |
daba jau normaliau numeta nors i downloads.php bet man reikia kad grynai numestu i ta daina;) 0 |
Peršokti į forumą: |