04-04-2009, 20:41
|
|
|
חבר מתאריך: 23.04.07
הודעות: 30
|
|
אחי תודה אבל הוא נותן לי הודעת שגיאה
אתה יכול לשנות לי את זה בקובץ עצמו?
הנה ככה ניראה הקוד של הקובץ:
קוד PHP:
<?php /************************* Coppermine Photo Gallery ************************ Copyright (c) 2003-2009 Coppermine Dev Team v1.1 originally written by Gregory DEMAR
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. ******************************************** Coppermine version: 1.4.21 $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/themes/igames/theme.php $ $Revision: 5728 $ $Author: gaugau $ $Date: 2009-03-02 09:25:17 +0100 (Mo, 02 Mär 2009) $ **********************************************/
// ------------------------------------------------------------------------- // // This theme has had redundant CORE items removed // // ------------------------------------------------------------------------- // //
define('THEME_HAS_RATING_GRAPHICS', 1); define('THEME_HAS_NO_SUB_MENU_BUTTONS',1); define('THEME_IS_XHTML10_TRANSITIONAL',1); // Remove this if you edit this template until // you have validated it. See docs/theme.htm.
// HTML template for sys_menu $template_sys_menu = << |{BUTTONS}| EOT;
// HTML template for template sys_menu spacer $template_sys_menu_spacer ="|";
// HTML template for template sub_menu // special note: I left the JavaScript 'hide' off of the first and third buttons to help avoid trouble keeping sys_menu open. :Donnoman if ($CONFIG['custom_lnk_url'] != '') { $template_sub_menu = << <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <!-- BEGIN custom_link --> <td class="top_menu_left_bttn"> <a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<!-- END custom_link --> <td class="top_menu_bttn"> <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@ </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_right_bttn"> <a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK} </td> <td width="100%"> </tr> </table> EOT;
} else {
$template_sub_menu = << <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <!-- BEGIN custom_link --> <!-- END custom_link --> <td class="top_menu_left_bttn"> <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="javascript:;" onmouseover="MM_showHideLayers('SYS_MENU','','show')">@ </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_bttn"> <a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK} </td> <td>[img]%22themes/igames/images/menu_spacer.gif%22[/img]
<td class="top_menu_right_bttn"> <a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK} </td> <td width="100%"> </tr> </table> EOT; } // HTML template for title row of the thumbnail view (album title + sort options) $template_thumb_view_title_row = <<
<table width="100%" cellpadding="0" cellspacing="0"> <tr> <td width="100%" class="statlink">{ALBUM_NAME} <td class="sortorder_options" style="font-size: 100%;">{TITLE} <td class="sortorder_options" style="font-size: 100%;"> + <td class="sortorder_options" style="font-size: 100%;"> - <td> <td class="sortorder_options" style="font-size: 100%;">{NAME} <td class="sortorder_options" style="font-size: 100%;"> + <td class="sortorder_options" style="font-size: 100%;"> - <td> <td class="sortorder_options" style="font-size: 100%;">{DATE} <td class="sortorder_options" style="font-size: 100%;"> + <td class="sortorder_options" style="font-size: 100%;"> - <td> <td class="sortorder_options" style="font-size: 100%;">{POSITION} <td class="sortorder_options" style="font-size: 100%;"> + <td class="sortorder_options" style="font-size: 100%;"> - </tr> </table>
EOT;
// Function to start a 'standard' table function starttable($width = '-1', $title = '', $title_colspan = '1') { global $CONFIG;
if ($width == '-1') $width = $CONFIG['picture_table_width']; if ($width == '100%') $width = $CONFIG['main_table_width']; if ($title) { echo << <!-- Start standard table title --> <table align="center" width="$width" cellspacing="0" cellpadding="0" class="maintablea"> <tr> <td> <table width="100%" cellspacing="0" cellpadding="0" class="tableh1a"> <tr> <td>[img]themes/igames/images/box_left_icon.gif[/img] <td class="tableh1a" width="95%">$title <td width="5%"> </tr> </table> </td> </tr> </table> <!-- Start standard table --> <table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintableb">
EOT; } else { echo <<
<!-- Start standard table --> <table align="center" width="$width" cellspacing="1" cellpadding="0" class="maintable">
EOT; } }
?>
אתה יכול להוסיף ואני יעתיק את זה איך שתשנה? כי אני לא בידיוק מתכנת
|