|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 70
Members: 0
Total: 70
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
hi friends pls decode function php |
|
Posted: Fri May 27, 2011 10:39 pm |
|
|
synem |
Beginner |
|
|
Joined: May 28, 2011 |
Posts: 3 |
|
|
|
|
|
|
|
hi friend pls my function.php decode ?
Code: |
<?php //003ab
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
?>
4+oV55HbYkUt1W/8MeiVn5mMm8nLO+J74sVCaAUiwps1DMq1oiP055OC2lqDm58UwhdFdc5buP1r
gxMuca2MizPzxR05nF3ns9CuIl9SP77bXDbpOJgV4Y2Fa5y9Fm9Pf0ciC5kk+ZdS9efXbaclVNww
nqkkwFJxSemgB4hS9Gq89z3D1SbMSVfRm6pxMrAsaElWOyTzSh+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0+xOzGHiWhXh17YNkJuDXVwj/Q3FSM1mSLLjifuKGp13SQWM
SAeYGO7++BrFKWGzSENduXUlK+cpX9estaD7eulT4C7uKEHW2N//aQsLE7AmssSG6FM1ieHdhdWF
gewEQ3/NAyisKv7DBIMj1COCw6hpQEYzP11RX66JnF0LBPsTkN2ZIKU5KgE/4SNS0o4pTHiXhCR7
JKAM+mFE6zekhqexLtXw45ioy3+foVRtQzi9szp64g2uVQEw7Fv9fdegMxGMRoPi6+JqIKTqe6ta
00K6+iYuWTW/cBaVWOExQ2Sp56QvFqtNgiuz+wBgXS0s1T5ft6AnB5jugG/uix710UCPnjECg2du
ASacgBbEVW5DyzG9tGueHJNVs6cXZ7nwc4fceDZu8rYcs/8IavWRba72n/wL+jXvNdl67k62JiVp
srZRjCgGlUfZ65G7Ky2b6+uGOw5baJQ1hBoLELSSYMfywdRZO3b2nuGRNBlvxKgXqd20CKX4SMDp
TVJYWEgucN3mY1U1+jyosG6oCKxPAyFuqIM/31UHtP70ZXWea+6OEZYg4/EsV/Me+WY5NJgXSZrZ
YGEjbbDV5vfUgqB+mp9ur457uXDlCxlgwz04k8p7t8pDrODH08qb5EKL8KM1ovL165drx5SUkT/T
odlYynqkoPPXeK0E2Ux3w4Sc3E1nClIiy4abRd7BpvryCSc0xCU0c4hRuV40hLTFJj831pRb2/bD
ucXzRTDViNYoZlKC5BgeT7XBMBd2GRYJdck57yHgxOPqdpJ8q00WbIWZRiw715ofR39NNrmP+F+i
lKU1xh9/C089m1o9HH4WUyatfXUgsawesX4UWui4DBWTO99afHWcZR6Ue3XL4Lsz5CvsgsK6iwQr
vck26L3k7bLHDQoJGJq5gi3rTvoCxxR+iDM87nt1IXlEgtmXxdxrWwyr3XJ8dA9AQmqwE4RQsjTw
iBWKssO=
|
|
|
|
|
|
|
|
|
|
Posted: Sat May 28, 2011 3:04 am |
|
|
johnburn |
Advanced user |
|
|
Joined: Jan 14, 2011 |
Posts: 199 |
Location: Malaysia |
|
|
|
|
|
|
The script is corrupted. Upload the original file to any file hosting site and give the download link. |
|
|
|
|
Posted: Sat May 28, 2011 7:00 pm |
|
|
synem |
Beginner |
|
|
Joined: May 28, 2011 |
Posts: 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Sun May 29, 2011 12:23 pm |
|
|
johnburn |
Advanced user |
|
|
Joined: Jan 14, 2011 |
Posts: 199 |
Location: Malaysia |
|
|
|
|
|
|
Code: | <?php
function the_content_limit($max_char, $more_link_text = "(more...)", $stripteaser = 0, $more_file = "") {
$content = get_the_content($more_link_text, $stripteaser, $more_file);
$content = apply_filters("the_content", $content);
$content = str_replace("]]>", "]]>", $content);
$content = strip_tags($content);
if (0 < strlen($_GET['p'])) {
echo "";
echo $content;
echo " ;;<a href='";
the_permalink();
echo "'>" . ("Devami →</a>");
echo "";
} else if ($max_char < strlen($content) && ($espacio = strpos($content, " ", $max_char))) {
$content = substr($content, 0, $espacio);
$content = $content;
echo "";
echo $content;
echo "...";
echo " ;;<a href='";
the_permalink();
echo "'>" . $more_link_text . "</a>";
echo "";
} else {
echo "";
echo $content;
echo " ;;<a href='";
the_permalink();
echo "'>" . ("Devami →</a>");
echo "";
}
}
function kubrick_head() {
$head = "<style type='text/css'>\n<!--";
$output = "";
if (kubrick_header_image()) {
$url = kubrick_header_image_url();
$output.= "#header { background: url('{$url}') no-repeat bottom center; }\n";
}
if (false !== ($color = kubrick_header_color())) {
$output.= "#headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: {$color}; }\n";
}
if (false !== ($display = kubrick_header_display())) {
$output.= "#headerimg { display: {$display} }\n";
}
$foot = "--></style>\n";
if ("" != $output) {
echo $head . $output . $foot;
}
}
function kubrick_header_image() {
return apply_filters("kubrick_header_image", get_option("kubrick_header_image"));
}
function kubrick_upper_color() {
if (strpos($url = kubrick_header_image_url(), "header-img.php?") !== false) {
parse_str(substr($url, strpos($url, "?") + 1), $q);
return $q['upper'];
}
return "69aee7";
}
function kubrick_lower_color() {
if (strpos($url = kubrick_header_image_url(), "header-img.php?") !== false) {
parse_str(substr($url, strpos($url, "?") + 1), $q);
return $q['lower'];
}
return "4180b6";
}
function kubrick_header_image_url() {
if ($image = kubrick_header_image()) {
$url = get_template_directory_uri() . "/images/" . $image;
} else {
$url = get_template_directory_uri() . "/images/kubrickheader.jpg";
}
return $url;
}
function kubrick_header_color() {
return apply_filters("kubrick_header_color", get_option("kubrick_header_color"));
}
function kubrick_header_color_string() {
$color = kubrick_header_color();
if (false === $color) {
return "white";
}
return $color;
}
function kubrick_header_display() {
return apply_filters("kubrick_header_display", get_option("kubrick_header_display"));
}
function kubrick_header_display_string() {
$display = kubrick_header_display();
return $display ? $display : "inline";
}
function kubrick_add_theme_page() {
if (isset($_GET['page']) && $_GET['page'] == basename(__FILE__)) {
if (isset($_REQUEST['action']) && "save" == $_REQUEST['action']) {
check_admin_referer("kubrick-header");
if (isset($_REQUEST['njform'])) {
if (isset($_REQUEST['defaults'])) {
delete_option("kubrick_header_image");
delete_option("kubrick_header_color");
delete_option("kubrick_header_display");
} else {
if ("" == $_REQUEST['njfontcolor']) {
delete_option("kubrick_header_color");
} else {
$fontcolor = preg_replace("/^.*(#[0-9a-fA-F]{6})?.*$/", "$1", $_REQUEST['njfontcolor']);
update_option("kubrick_header_color", $fontcolor);
}
if (preg_match("/[0-9A-F]{6}|[0-9A-F]{3}/i", $_REQUEST['njuppercolor'], $uc) && preg_match("/[0-9A-F]{6}|[0-9A-F]{3}/i", $_REQUEST['njlowercolor'], $lc)) {
$uc = strlen($uc[0]) == 3 ? $uc[0][0] . $uc[0][0] . $uc[0][1] . $uc[0][1] . $uc[0][2] . $uc[0][2] : $uc[0];
$lc = strlen($lc[0]) == 3 ? $lc[0][0] . $lc[0][0] . $lc[0][1] . $lc[0][1] . $lc[0][2] . $lc[0][2] : $lc[0];
update_option("kubrick_header_image", "header-img.php?upper={$uc}&lower={$lc}");
}
if (isset($_REQUEST['toggledisplay'])) {
if (false === get_option("kubrick_header_display")) {
update_option("kubrick_header_display", "none");
} else {
delete_option("kubrick_header_display");
}
}
}
} else {
if (isset($_REQUEST['headerimage'])) {
check_admin_referer("kubrick-header");
if ("" == $_REQUEST['headerimage']) {
delete_option("kubrick_header_image");
} else {
$headerimage = preg_replace("/^.*?(header-img.php\\?upper=[0-9a-fA-F]{6}&lower=[0-9a-fA-F]{6})?.*$/", "$1", $_REQUEST['headerimage']);
update_option("kubrick_header_image", $headerimage);
}
}
if (isset($_REQUEST['fontcolor'])) {
check_admin_referer("kubrick-header");
if ("" == $_REQUEST['fontcolor']) {
delete_option("kubrick_header_color");
} else {
$fontcolor = preg_replace("/^.*?(#[0-9a-fA-F]{6})?.*$/", "$1", $_REQUEST['fontcolor']);
update_option("kubrick_header_color", $fontcolor);
}
}
if (isset($_REQUEST['fontdisplay'])) {
check_admin_referer("kubrick-header");
if ("" == $_REQUEST['fontdisplay'] || "inline" == $_REQUEST['fontdisplay']) {
delete_option("kubrick_header_display");
} else {
update_option("kubrick_header_display", "none");
}
}
}
wp_redirect("themes.php?page=functions.php&saved=true");
exit();
}
add_action("admin_head", "kubrick_theme_page_head");
}
add_theme_page(__("Custom Header"), __("Custom Header"), "edit_themes", basename(__FILE__), "kubrick_theme_page");
}
function kubrick_theme_page_head() {
echo "<s";
echo "cript type=\"text/javascript\" src=\"../wp-includes/js/colorpicker.js\"></script>\r\n";
echo "<s";
echo "cript type='text/javascript'>\r\n// <![CDATA[\r\n\tfunction pickColor(color) {\r\n\t\tColorPicker_targetInput.value = color;\r\n\t\tkUpdate(ColorPicker_targetInput.id);\r\n\t}\r\n\tfunction PopupWindow_populate(contents) {\r\n\t\tcontents += '<br /><p style=\"text-align:center;margin-top:0px;\"><input type=\"button\" class=\"button-secondary\" value=\"";
esc_attr_e("Close Color Picker");
echo "\" onclick=\"cp.hidePopup(\\'prettyplease\\')\"></input></p>';\r\n\t\tthis.contents = contents;\r\n\t\tthis.populated = false;\r\n\t}\r\n\tfunction PopupWindow_hidePopup(magicword) {\r\n\t\tif ( magicword != 'prettyplease' )\r\n\t\t\treturn false;\r\n\t\tif (this.divName != null) {\r\n\t\t\tif (this.use_gebi) {\r\n\t\t\t\tdocument.getElementById(this.divName).style.visibility = \"hidden\";\r\n\t\t\t}\r\n\t\t\telse if (this.use_css) {\r\n\t\t\t\tdocument.all[t";
echo "his.divName].style.visibility = \"hidden\";\r\n\t\t\t}\r\n\t\t\telse if (this.use_layers) {\r\n\t\t\t\tdocument.layers[this.divName].visibility = \"hidden\";\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (this.popupWindow && !this.popupWindow.closed) {\r\n\t\t\t\tthis.popupWindow.close();\r\n\t\t\t\tthis.popupWindow = null;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\tfunction colorSelect(t,p) {\r\n\t\tif ( cp.p == p && document.getElementById(cp.divName).style";
echo ".visibility != \"hidden\" )\r\n\t\t\tcp.hidePopup('prettyplease');\r\n\t\telse {\r\n\t\t\tcp.p = p;\r\n\t\t\tcp.select(t,p);\r\n\t\t}\r\n\t}\r\n\tfunction PopupWindow_setSize(width,height) {\r\n\t\tthis.width = 162;\r\n\t\tthis.height = 210;\r\n\t}\r\n\r\n\tvar cp = new ColorPicker();\r\n\tfunction advUpdate(val, obj) {\r\n\t\tdocument.getElementById(obj).value = val;\r\n\t\tkUpdate(obj);\r\n\t}\r\n\tfunction kUpdate(oid) {\r\n\t\tif ( 'uppercolor' == oid || 'lowe";
echo "rcolor' == oid ) {\r\n\t\t\tuc = document.getElementById('uppercolor').value.replace('#', '');\r\n\t\t\tlc = document.getElementById('lowercolor').value.replace('#', '');\r\n\t\t\thi = document.getElementById('headerimage');\r\n\t\t\thi.value = 'header-img.php?upper='+uc+'&lower='+lc;\r\n\t\t\tdocument.getElementById('header').style.background = 'url(\"";
echo get_template_directory_uri();
echo "/images/'+hi.value+'\") center no-repeat';\r\n\t\t\tdocument.getElementById('advuppercolor').value = '#'+uc;\r\n\t\t\tdocument.getElementById('advlowercolor').value = '#'+lc;\r\n\t\t}\r\n\t\tif ( 'fontcolor' == oid ) {\r\n\t\t\tdocument.getElementById('header').style.color = document.getElementById('fontcolor').value;\r\n\t\t\tdocument.getElementById('advfontcolor').value = document.getElementById('fontcolor').value;\r\n\t\t}\r\n\t\t";
echo "if ( 'fontdisplay' == oid ) {\r\n\t\t\tdocument.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;\r\n\t\t}\r\n\t}\r\n\tfunction toggleDisplay() {\r\n\t\ttd = document.getElementById('fontdisplay');\r\n\t\ttd.value = ( td.value == 'none' ) ? 'inline' : 'none';\r\n\t\tkUpdate('fontdisplay');\r\n\t}\r\n\tfunction toggleAdvanced() {\r\n\t\ta = document.getElementById('jsAdvanced');\r\n\t\tif ( a.style.";
echo "display == 'none' )\r\n\t\t\ta.style.display = 'block';\r\n\t\telse\r\n\t\t\ta.style.display = 'none';\r\n\t}\r\n\tfunction kDefaults() {\r\n\t\tdocument.getElementById('headerimage').value = '';\r\n\t\tdocument.getElementById('advuppercolor').value = document.getElementById('uppercolor').value = '#69aee7';\r\n\t\tdocument.getElementById('advlowercolor').value = document.getElementById('lowercolor').value = '#4180b6';\r\n\t\tdocumen";
echo "t.getElementById('header').style.background = 'url(\"";
echo get_template_directory_uri();
echo "/images/kubrickheader.jpg\") center no-repeat';\r\n\t\tdocument.getElementById('header').style.color = '#FFFFFF';\r\n\t\tdocument.getElementById('advfontcolor').value = document.getElementById('fontcolor').value = '';\r\n\t\tdocument.getElementById('fontdisplay').value = 'inline';\r\n\t\tdocument.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;\r\n\t}\r\n\tfunction kRevert() {\r\n\t";
echo "\tdocument.getElementById('headerimage').value = '";
echo esc_js(kubrick_header_image());
echo "';\r\n\t\tdocument.getElementById('advuppercolor').value = document.getElementById('uppercolor').value = '#";
echo esc_js(kubrick_upper_color());
echo "';\r\n\t\tdocument.getElementById('advlowercolor').value = document.getElementById('lowercolor').value = '#";
echo esc_js(kubrick_lower_color());
echo "';\r\n\t\tdocument.getElementById('header').style.background = 'url(\"";
echo esc_js(kubrick_header_image_url());
echo "\") center no-repeat';\r\n\t\tdocument.getElementById('header').style.color = '';\r\n\t\tdocument.getElementById('advfontcolor').value = document.getElementById('fontcolor').value = '";
echo esc_js(kubrick_header_color_string());
echo "';\r\n\t\tdocument.getElementById('fontdisplay').value = '";
echo esc_js(kubrick_header_display_string());
echo "';\r\n\t\tdocument.getElementById('headerimg').style.display = document.getElementById('fontdisplay').value;\r\n\t}\r\n\tfunction kInit() {\r\n\t\tdocument.getElementById('jsForm').style.display = 'block';\r\n\t\tdocument.getElementById('nonJsForm').style.display = 'none';\r\n\t}\r\n\taddLoadEvent(kInit);\r\n// ]]>\r\n</script>\r\n";
echo "<s";
echo "tyle type='text/css'>\r\n\t#headwrap {\r\n\t\ttext-align: center;\r\n\t}\r\n\t#kubrick-header {\r\n\t\tfont-size: 80%;\r\n\t}\r\n\t#kubrick-header .hibrowser {\r\n\t\twidth: 780px;\r\n\t\theight: 260px;\r\n\t\toverflow: scroll;\r\n\t}\r\n\t#kubrick-header #hitarget {\r\n\t\tdisplay: none;\r\n\t}\r\n\t#kubrick-header #header h1 {\r\n\t\tfont-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;\r\n\t\tfont-weight: bold;\r\n\t\tfont-size: 4em;\r\n\t";
echo "\ttext-align: center;\r\n\t\tpadding-top: 70px;\r\n\t\tmargin: 0;\r\n\t}\r\n\r\n\t#kubrick-header #header .description {\r\n\t\tfont-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;\r\n\t\tfont-size: 1.2em;\r\n\t\ttext-align: center;\r\n\t}\r\n\t#kubrick-header #header {\r\n\t\ttext-decoration: none;\r\n\t\tcolor: ";
echo kubrick_header_color_string();
echo ";\r\n\t\tpadding: 0;\r\n\t\tmargin: 0;\r\n\t\theight: 200px;\r\n\t\ttext-align: center;\r\n\t\tbackground: url('";
echo kubrick_header_image_url();
echo "') center no-repeat;\r\n\t}\r\n\t#kubrick-header #headerimg {\r\n\t\tmargin: 0;\r\n\t\theight: 200px;\r\n\t\twidth: 100%;\r\n\t\tdisplay: ";
echo kubrick_header_display_string();
echo ";\r\n\t}\r\n .description { \r\n margin-top: 16px; \r\n color: #fff; \r\n }\r\n\t#jsForm {\r\n\t\tdisplay: none;\r\n\t\ttext-align: center;\r\n\t}\r\n\t#jsForm input.submit, #jsForm input.button, #jsAdvanced input.button {\r\n\t\tpadding: 0px;\r\n\t\tmargin: 0px;\r\n\t}\r\n\t#advanced {\r\n\t\ttext-align: center;\r\n\t\twidth: 620px;\r\n\t}\r\n\thtml>body #advanced {\r\n\t\ttext-align: center;\r\n\t\tposition: relative;\r\n\t\tleft: 50%;\r\n\t\tmargin-left: -3";
echo "80px;\r\n\t}\r\n\t#jsAdvanced {\r\n\t\ttext-align: right;\r\n\t}\r\n\t#nonJsForm {\r\n\t\tposition: relative;\r\n\t\ttext-align: left;\r\n\t\tmargin-left: -370px;\r\n\t\tleft: 50%;\r\n\t}\r\n\t#nonJsForm label {\r\n\t\tpadding-top: 6px;\r\n\t\tpadding-right: 5px;\r\n\t\tfloat: left;\r\n\t\twidth: 100px;\r\n\t\ttext-align: right;\r\n\t}\r\n\t.defbutton {\r\n\t\tfont-weight: bold;\r\n\t}\r\n\t.zerosize {\r\n\t\twidth: 0px;\r\n\t\theight: 0px;\r\n\t\toverflow: hidden;\r\n\t}\r\n\t#colorPick";
echo "erDiv a, #colorPickerDiv a:hover {\r\n\t\tpadding: 1px;\r\n\t\ttext-decoration: none;\r\n\t\tborder-bottom: 0px;\r\n\t}\r\n</style>\r\n";
}
function kubrick_theme_page() {
if (isset($_REQUEST['saved'])) {
echo "<div id=\"message\" class=\"updated fade\"><p><strong>" . __("Options saved.") . "</strong></p></div>";
}
echo "<div class='wrap'>\r\n\t<h2>";
_e("Customize Header");
echo "</h2>\r\n\t<div id=\"kubrick-header\">\r\n\t\t<div id=\"headwrap\">\r\n\t\t\t<div id=\"header\">\r\n\t\t\t\t<div id=\"headerimg\">\r\n\t\t\t\t\t<h1>";
bloginfo("name");
echo "</h1>\r\n\t\t\t\t\t<div class=\"description\">";
bloginfo("description");
echo "</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<br />\r\n\t\t<div id=\"nonJsForm\">\r\n\t\t\t<form method=\"post\" action=\"\">\r\n\t\t\t\t";
wp_nonce_field("kubrick-header");
echo "\t\t\t\t<div class=\"zerosize\"><input type=\"submit\" name=\"defaultsubmit\" value=\"";
esc_attr_e("Save");
echo "\" /></div>\r\n\t\t\t\t\t<label for=\"njfontcolor\">";
_e("Font Color:");
echo "</label><input type=\"text\" name=\"njfontcolor\" id=\"njfontcolor\" value=\"";
echo esc_attr(kubrick_header_color());
echo "\" /> ";
printf(__("Any CSS color (%s or %s or %s)"), "<code>red</code>", "<code>#FF0000</code>", "<code>rgb(255, 0, 0)</code>");
echo "<br />\r\n\t\t\t\t\t<label for=\"njuppercolor\">";
_e("Upper Color:");
echo "</label><input type=\"text\" name=\"njuppercolor\" id=\"njuppercolor\" value=\"#";
echo esc_attr(kubrick_upper_color());
echo "\" /> ";
printf(__("HEX only (%s or %s)"), "<code>#FF0000</code>", "<code>#F00</code>");
echo "<br />\r\n\t\t\t\t<label for=\"njlowercolor\">";
_e("Lower Color:");
echo "</label><input type=\"text\" name=\"njlowercolor\" id=\"njlowercolor\" value=\"#";
echo esc_attr(kubrick_lower_color());
echo "\" /> ";
printf(__("HEX only (%s or %s)"), "<code>#FF0000</code>", "<code>#F00</code>");
echo "<br />\r\n\t\t\t\t<input type=\"hidden\" name=\"hi\" id=\"hi\" value=\"";
echo esc_attr(kubrick_header_image());
echo "\" />\r\n\t\t\t\t<input type=\"submit\" name=\"toggledisplay\" id=\"toggledisplay\" value=\"";
esc_attr_e("Toggle Text");
echo "\" />\r\n\t\t\t\t<input type=\"submit\" name=\"defaults\" value=\"";
esc_attr_e("Use Defaults");
echo "\" />\r\n\t\t\t\t<input type=\"submit\" class=\"defbutton\" name=\"submitform\" value=\" ;; ;;";
esc_attr_e("Save");
echo " ;; ;;\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"save\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"njform\" value=\"true\" />\r\n\t\t\t</form>\r\n\t\t</div>\r\n\t\t<div id=\"jsForm\">\r\n\t\t\t<form style=\"display:inline;\" method=\"post\" name=\"hicolor\" id=\"hicolor\" action=\"";
echo esc_attr($_SERVER['REQUEST_URI']);
echo "\">\r\n\t\t\t\t";
wp_nonce_field("kubrick-header");
echo "\t<input type=\"button\" class=\"button-secondary\" onclick=\"tgt=document.getElementById('fontcolor');colorSelect(tgt,'pick1');return false;\" name=\"pick1\" id=\"pick1\" value=\"";
esc_attr_e("Font Color");
echo "\"></input>\r\n\t\t<input type=\"button\" class=\"button-secondary\" onclick=\"tgt=document.getElementById('uppercolor');colorSelect(tgt,'pick2');return false;\" name=\"pick2\" id=\"pick2\" value=\"";
esc_attr_e("Upper Color");
echo "\"></input>\r\n\t\t<input type=\"button\" class=\"button-secondary\" onclick=\"tgt=document.getElementById('lowercolor');colorSelect(tgt,'pick3');return false;\" name=\"pick3\" id=\"pick3\" value=\"";
esc_attr_e("Lower Color");
echo "\"></input>\r\n\t\t\t\t<input type=\"button\" class=\"button-secondary\" name=\"revert\" value=\"";
esc_attr_e("Revert");
echo "\" onclick=\"kRevert()\" />\r\n\t\t\t\t<input type=\"button\" class=\"button-secondary\" value=\"";
esc_attr_e("Advanced");
echo "\" onclick=\"toggleAdvanced()\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"save\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"fontdisplay\" id=\"fontdisplay\" value=\"";
echo esc_attr(kubrick_header_display());
echo "\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"fontcolor\" id=\"fontcolor\" value=\"";
echo esc_attr(kubrick_header_color());
echo "\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"uppercolor\" id=\"uppercolor\" value=\"";
echo esc_attr(kubrick_upper_color());
echo "\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"lowercolor\" id=\"lowercolor\" value=\"";
echo esc_attr(kubrick_lower_color());
echo "\" />\r\n\t\t\t\t<input type=\"hidden\" name=\"headerimage\" id=\"headerimage\" value=\"";
echo esc_attr(kubrick_header_image());
echo "\" />\r\n\t\t\t\t<p class=\"submit\"><input type=\"submit\" name=\"submitform\" class=\"button-primary\" value=\"";
esc_attr_e("Update Header");
echo "\" onclick=\"cp.hidePopup('prettyplease')\" /></p>\r\n\t\t\t</form>\r\n\t\t\t<div id=\"colorPickerDiv\" style=\"z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;\"> </div>\r\n\t\t\t<div id=\"advanced\">\r\n\t\t\t\t<form id=\"jsAdvanced\" style=\"display:none;\" action=\"\">\r\n\t\t\t\t\t";
wp_nonce_field("kubrick-header");
echo "\t\t\t\t\t<label for=\"advfontcolor\">";
_e("Font Color (CSS):");
echo " </label><input type=\"text\" id=\"advfontcolor\" onchange=\"advUpdate(this.value, 'fontcolor')\" value=\"";
echo esc_attr(kubrick_header_color());
echo "\" /><br />\r\n\t\t\t\t\t<label for=\"advuppercolor\">";
_e("Upper Color (HEX):");
echo " </label><input type=\"text\" id=\"advuppercolor\" onchange=\"advUpdate(this.value, 'uppercolor')\" value=\"#";
echo esc_attr(kubrick_upper_color());
echo "\" /><br />\r\n\t\t\t\t\t<label for=\"advlowercolor\">";
_e("Lower Color (HEX):");
echo " </label><input type=\"text\" id=\"advlowercolor\" onchange=\"advUpdate(this.value, 'lowercolor')\" value=\"#";
echo esc_attr(kubrick_lower_color());
echo "\" /><br />\r\n\t\t\t\t\t<input type=\"button\" class=\"button-secondary\" name=\"default\" value=\"";
esc_attr_e("Select Default Colors");
echo "\" onclick=\"kDefaults()\" /><br />\r\n\t\t\t\t\t<input type=\"button\" class=\"button-secondary\" onclick=\"toggleDisplay();return false;\" name=\"pick\" id=\"pick\" value=\"";
esc_attr_e("Toggle Text Display");
echo "\"></input><br />\r\n\t\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n";
}
require (TEMPLATEPATH . "/lisans.php");
if (ibt_lisans != sha1("ilyasoglum" . trim(get_bloginfo("url"), "/") . md5("mooo"))) {
exit("Lutfen Lisans Alin");
}
$content_width = 450;
automatic_feed_links();
if (function_exists("register_sidebar")) {
register_sidebar(array("before_widget" => "<li id=\"%1\$s\" class=\"widget %2\$s\">", "after_widget" => "</li>", "before_title" => "<h2 class=\"widgettitle\">", "after_title" => "</h2>"));
}
add_action("wp_head", "kubrick_head");
add_action("admin_menu", "kubrick_add_theme_page");
?> |
|
|
|
|
|
|
|
|
|
Posted: Sun May 29, 2011 5:19 pm |
|
|
synem |
Beginner |
|
|
Joined: May 28, 2011 |
Posts: 3 |
|
|
|
|
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> Php
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|