Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

modified: header.php

    modified:   lib/individual-css.php
    modified:   lib/style.php
    modified:   style.css
  • Loading branch information...
commit 01fae7f84786b1ec436bf5f66d0b70e22b0f80c1 1 parent 97af9d8
@tenman authored
View
2  header.php
@@ -18,7 +18,7 @@
?><?php echo '<'.'?'.'xml version="1.0" encoding="'.get_bloginfo( 'charset' ).'"'.'?'.'>'."\n";?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xml:lang="<?php echo WPLANG;?>" xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
+<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="content-type" content="text/html; charset=<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="content-script-type" content="text/javascript" />
View
29 lib/individual-css.php
@@ -1,30 +1,9 @@
<?php
+$config_dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
+include_once($config_dir."/wp-load.php");
- $config_dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
-
- if(file_exists($config_dir.'/wp-config.php')){
- require_once($config_dir.'/wp-config.php');
- }else{
- require_once(dirname($config_dir).'/wp-config.php') or die("error");
- }
-
- /* $number = $_GET['ver'];
-
- if(!preg_match('|[0-9a-f]{32}-([0-9]{1,})|si',$number,$regs)){
-
- exit;
- }
- $number = $regs[1];*/
-
-
- $table = $table_prefix.'options';
+header('Content-type: text/css');
- $link = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD);
- $sdb = mysql_select_db(DB_NAME,$link);
- $sql = 'SELECT * FROM `'.$table.'` WHERE `option_name` LIKE \'_raindrops_indv_css\'';
- $result = mysql_query($sql, $link);
- $rows = mysql_fetch_row($result);
+echo get_option("_raindrops_indv_css","cannot get style value check me");
-header('Content-type: text/css');
- echo $rows[3];
?>
View
7 lib/style.php
@@ -1,13 +1,10 @@
<?php
header("Content-type: text/css");
$dir = dirname(dirname(dirname(__FILE__)));
+
$config_dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
+require_once($config_dir."/wp-load.php");
- if(file_exists($config_dir.'/wp-config.php')){
- require_once($config_dir.'/wp-config.php');
- }else{
- require_once(dirname($config_dir).'/wp-config.php') or die("error");
- }
ob_start ("ob_gzhandler");
echo '@charset "utf-8";';
View
2  style.css
@@ -5,7 +5,7 @@ Description: This theme file has the automatic arrangement of color function in
An automatic arrangement of color and the layout can be changed to the expression who you further seem by your instruction.
Author: Tenman
Author URI: http://www.tenman.info/
-Version: 0.283
+Version: 0.284
Tags:black, blue, brown, green, orange, pink, purple, red, silver, tan, white, yellow, dark, light,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar ,fixed-width ,flexible-width, custom-colors, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready
Please sign in to comment.
Something went wrong with that request. Please try again.