mambax7 /
adslight
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /* |
||
| 3 | ------------------------------------------------------------------------- |
||
| 4 | ADSLIGHT 2 : Module for Xoops |
||
| 5 | |||
| 6 | Redesigned and ameliorate By Luc Bizet user at www.frxoops.org |
||
| 7 | Started with the Classifieds module and made MANY changes |
||
| 8 | Website : http://www.luc-bizet.fr |
||
| 9 | Contact : [email protected] |
||
| 10 | ------------------------------------------------------------------------- |
||
| 11 | Original credits below Version History |
||
| 12 | ########################################################################## |
||
| 13 | # Classified Module for Xoops # |
||
| 14 | # By John Mordo user jlm69 at www.xoops.org and www.jlmzone.com # |
||
| 15 | # Started with the MyAds module and made MANY changes # |
||
| 16 | ########################################################################## |
||
| 17 | Original Author: Pascal Le Boustouller |
||
| 18 | Author Website : [email protected] |
||
| 19 | Licence Type : GPL |
||
| 20 | ------------------------------------------------------------------------- |
||
| 21 | */ |
||
| 22 | |||
| 23 | include_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php'; |
||
| 24 | include_once __DIR__ . '/header.php'; |
||
| 25 | xoops_cp_header(); |
||
| 26 | |||
| 27 | //if ( !is_readable(XOOPS_ROOT_PATH. "/Frameworks/art/functions.admin.php")) { |
||
|
0 ignored issues
–
show
|
|||
| 28 | // adslight_adminmenu(7, ""); |
||
| 29 | //} else { |
||
| 30 | // include_once XOOPS_ROOT_PATH.'/Frameworks/art/functions.admin.php'; |
||
| 31 | // loadModuleAdminMenu (7, ""); |
||
| 32 | //} |
||
| 33 | |||
| 34 | $versioninfo = $module_handler->get($xoopsModule->getVar('mid')); |
||
| 35 | echo " |
||
| 36 | <style type=\"text/css\"> |
||
| 37 | label,text { |
||
| 38 | display: block; |
||
| 39 | float: left; |
||
| 40 | margin-bottom: 2px; |
||
| 41 | } |
||
| 42 | label { |
||
| 43 | text-align: right; |
||
| 44 | width: 150px; |
||
| 45 | padding-right: 20px; |
||
| 46 | } |
||
| 47 | br { |
||
| 48 | clear: left; |
||
| 49 | } |
||
| 50 | </style> |
||
| 51 | "; |
||
| 52 | |||
| 53 | ///// People who participate in improving the module |
||
| 54 | echo "<fieldset><legend style='font-weight: bold; color: #555;'>" . _AM_ADSLIGHT_SUPPORTFORUM_TITLE . '</legend>'; |
||
| 55 | echo "<div style='padding: 8px;'>"; |
||
| 56 | |||
| 57 | //// France /// |
||
| 58 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 59 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/fr.png\" width=\"16\" height=\"11\" border=\"0\"><b> Français</b><br>"; |
||
| 60 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ":</label><a href=\"http://www.i-luc.fr/adslight/modules/newbb/index.php?cat=2\" target=\"_blank\" >Forum support Français</a><br>"; |
||
| 61 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ":</label>Forum d'entraide, Traduction, développement et support Français<br>"; |
||
| 62 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ": </label><a href=\"mailto:[email protected]?subject=Correction AdsLight\"> Envoyer une correction</a><br>"; |
||
| 63 | echo '</tr></table><br>'; |
||
| 64 | |||
| 65 | //// Espagne /// |
||
| 66 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 67 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/es.png\" width=\"16\" height=\"11\" border=\"0\"><b> Español</b><br>"; |
||
| 68 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ":</label><a href=\"http://www.i-luc.fr/adslight/modules/newbb/index.php?cat=33\" target=\"_blank\" >Foro de soporte en Español</a><br>"; |
||
| 69 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label>Foro de soporte, la traducción, el desarrollo y soporte en Español<br>'; |
||
| 70 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ": </label><a href=\"mailto:[email protected]?subject=Correction AdsLight\"> Enviar una corrección</a><br>"; |
||
| 71 | echo '</tr></table><br>'; |
||
| 72 | |||
| 73 | //// Anglais /// |
||
| 74 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 75 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/uk.png\" width=\"16\" height=\"11\" border=\"0\"><b> English</b><br>"; |
||
| 76 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ":</label><a href=\"http://www.i-luc.fr/adslight/modules/newbb/index.php?cat=56\" target=\"_blank\" >English Support Forum</a><br>"; |
||
| 77 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label>Support forum, translation, development and English support<br>'; |
||
| 78 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ": </label><a href=\"mailto:[email protected]?subject=Correction AdsLight\"> Send a correction</a><br>"; |
||
| 79 | echo '</tr></table><br>'; |
||
| 80 | |||
| 81 | //// Allemand /// |
||
| 82 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 83 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/de.png\" width=\"16\" height=\"11\" border=\"0\"><b> Deutsch</b><br>"; |
||
| 84 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ":</label><a href=\"http://www.i-luc.fr/adslight/modules/newbb/index.php?cat=64\" target=\"_blank\" >Deutsch Support Forum</a><br>"; |
||
| 85 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label>Support Forum, Übersetzung, Entwicklung und deutsche Support<br>'; |
||
| 86 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ": </label><a href=\"mailto:[email protected]?subject=Correction AdsLight\"> Senden Sie eine Korrektur</a><br>"; |
||
| 87 | echo '</tr></table><br>'; |
||
| 88 | |||
| 89 | //// Bosnie /// |
||
| 90 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 91 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/ba.png\" width=\"16\" height=\"11\" border=\"0\"><b> Bosanski</b><br>"; |
||
| 92 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ":</label><a href=\"http://www.i-luc.fr/adslight/modules/newbb/index.php?cat=66\" target=\"_blank\" >Bosanski Forum za pomoc</a><br>"; |
||
| 93 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label>Podrska forum, prijevod, razvoj i podrsku bosanskih<br>'; |
||
| 94 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ": </label><a href=\"mailto:[email protected]?subject=Correction AdsLight\"> Pošalji ispravak</a><br>"; |
||
| 95 | echo '</tr></table><br>'; |
||
| 96 | |||
| 97 | //// Néerlandais /// |
||
| 98 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 99 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/nl.png\" width=\"16\" height=\"11\" border=\"0\"><b> Nederlands</b><br>"; |
||
| 100 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ":</label><a href=\"http://www.i-luc.fr/adslight/modules/newbb/index.php?cat=58\" target=\"_blank\" >Nederlandse steun Forum</a><br>"; |
||
| 101 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label>Support forum, Vertaling, Nederlands Ontwikkeling en Ondersteuning<br>'; |
||
| 102 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ": </label><a href=\"mailto:[email protected]?subject=Correction AdsLight\"> Stuur een correctie</a><br>"; |
||
| 103 | echo '</tr></table><br><br><br>'; |
||
| 104 | |||
| 105 | /////////////////////////////////// |
||
| 106 | |||
| 107 | //// Italie /// |
||
| 108 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 109 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/unavailable.png\" width=\"16\" height=\"11\" border=\"0\"><b> Italiano</b><br>"; |
||
| 110 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ':</label> -<br>'; |
||
| 111 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label> -<br>'; |
||
| 112 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ": </label><a href=\"mailto:[email protected]?subject=Traduction AdsLight\"> Presentare una traduzione</a><br>"; |
||
| 113 | echo '</tr></table><br>'; |
||
| 114 | |||
| 115 | //// Russie /// |
||
| 116 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 117 | echo '<label>' . |
||
| 118 | _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . |
||
| 119 | ":</label><img src=\"../assets/images/flags/unavailable.png\" width=\"16\" height=\"11\" border=\"0\"><b> Русский</b><br>"; |
||
| 120 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ':</label> -<br>'; |
||
| 121 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label> -<br>'; |
||
| 122 | echo '<label>' . |
||
| 123 | _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . |
||
| 124 | ":</label><a href=\"mailto:[email protected]?subject=Traduction AdsLight\"> Отправить перевод</a><br>"; |
||
| 125 | echo '</tr></table><br>'; |
||
| 126 | |||
| 127 | //// Polonais /// |
||
| 128 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 129 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/unavailable.png\" width=\"16\" height=\"11\" border=\"0\"><b> Polski</b><br>"; |
||
| 130 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ':</label> -<br>'; |
||
| 131 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label> -<br>'; |
||
| 132 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ":</label><a href=\"mailto:[email protected]?subject=Traduction AdsLight\"> Przedstawić tłumaczenie</a><br>"; |
||
| 133 | echo '</tr></table><br>'; |
||
| 134 | |||
| 135 | //// Portugais /// |
||
| 136 | echo "<table width='100%' border='0' class='outer'><tr><td>"; |
||
| 137 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_CONTRYLANG . ":</label><img src=\"../assets/images/flags/unavailable.png\" width=\"16\" height=\"11\" border=\"0\"><b> Português</b><br>"; |
||
| 138 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_WEBLINKS . ':</label> -<br>'; |
||
| 139 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_DESC . ':</label> -<br>'; |
||
| 140 | echo '<label>' . _AM_ADSLIGHT_SUPPORTFORUM_TRANSLATE . ":</label><a href=\"mailto:[email protected]?subject=Traduction AdsLight\"> Enviar uma Enviar tradução</a><br>"; |
||
| 141 | echo '</tr></table><br>'; |
||
| 142 | |||
| 143 | echo '</div>'; |
||
| 144 | echo '</fieldset>'; |
||
| 145 | echo "<br clear=\"all\" />"; |
||
| 146 | |||
| 147 | xoops_cp_footer(); |
||
| 148 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.