- //---- else if(file_exists(CSS_DIR.CSVSS)){
- //---- $style_data = CSS_DIR.CSVSS;
- //---- $lines = explode("\n", file_get_contents($style_data));
- //---- $j = 0;
- //---- foreach($lines as $null => $line){ // Line has data, or line is not commented out
- //---- if(substr($line, 0, 2) != '//' && $line != ''){
- //---- $bits = explode('[*]', $line);
- //---- $j++;
- //---- $style_name = $bits[0];
- //---- $style_path = CSS_DIR.$bits[2];
- //---- if(file_exists($style_path)){
- //---- $style_short = $bits[1];
- //---- if($bits[3]) $style_rel = ' checked="checked"';
- //---- else $style_rel = false;
- //---- $class = ($j % 2) ? 'row1' : 'row2'; // BG colour
- //---- echo '<tr class="'.$class.'"><td align="left" colspan="2"><label><input name="default" type="radio"'.$style_rel.' value="'.$style_name.'" /> '.$style_path.'</label><input type="hidden" name="path['.$style_name.']" value="'.$bits[2].'" /></td><td align="left"><input name="names['.$style_name.']" value="'.$style_name.'" size="25" /></td><td align="left"><input name="short['.$style_name.']" value="'.$style_short.'" size="5" /></td><td align="left"><input name="order['.$style_name.']" size="2" value="'.$j.'" /></td></tr>';
- //---- }
- //---- }
- //---- }
- //---- }
+//---- else if(file_exists(CSS_DIR.CSVSS)){
+//---- $style_data = CSS_DIR.CSVSS;
+//---- $lines = explode("\n", file_get_contents($style_data));
+//---- $j = 0;
+//---- foreach($lines as $null => $line){ // Line has data, or line is not commented out
+//---- if(substr($line, 0, 2) != '//' && $line != ''){
+//---- $bits = explode('[*]', $line);
+//---- $j++;
+//---- $style_name = $bits[0];
+//---- $style_path = CSS_DIR.$bits[2];
+//---- if(file_exists($style_path)){
+//---- $style_short = $bits[1];
+//---- if($bits[3]) $style_rel = ' checked="checked"';
+//---- else $style_rel = false;
+//---- $class = ($j % 2) ? 'row1' : 'row2'; // BG colour
+//---- echo '<tr class="'.$class.'"><td align="left" colspan="2"><label><input name="default" type="radio"'.$style_rel.' value="'.$style_name.'" /> '.$style_path.'</label><input type="hidden" name="path['.$style_name.']" value="'.$bits[2].'" /></td><td align="left"><input name="names['.$style_name.']" value="'.$style_name.'" size="25" /></td><td align="left"><input name="short['.$style_name.']" value="'.$style_short.'" size="5" /></td><td align="left"><input name="order['.$style_name.']" size="2" value="'.$j.'" /></td></tr>';
+//---- }
+//---- }
+//---- }
+//---- }