|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 78
Members: 0
Total: 78
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Please Decode |
|
Posted: Fri Feb 14, 2014 8:05 am |
|
|
devilhunter |
Active user |
|
|
Joined: Jul 12, 2013 |
Posts: 35 |
|
|
|
|
|
|
|
|
|
|
|
|
:) |
|
Posted: Sat Feb 15, 2014 7:12 am |
|
|
Dm4r |
Beginner |
|
|
Joined: Sep 02, 2012 |
Posts: 3 |
Location: Dm4r |
|
|
|
|
|
|
Code: |
<?php
/**
*
* @ This file is created by is-sec.com
* @ Mr.Dm4r (PHP5 Decoder for ionCube Encoder)
*
* @ Version : 1.1.7.0
* @ Author : Mr.Dm4r
* @ Release on : 25.02.2013
* @ Official site : http://is-sec.com
*
*/
function ust_kategorim_ne($catid) {
while ($catid) {
$cat = get_category( $catid );
$catid = $cat->category_parent;
$catParent = $cat->cat_ID;
}
return $catParent;
}
function mytheme_add_admin() {
global $themename;
global $shortname;
global $options;
if ($_GET['page'] == basename( __FILE__ )) {
if ('save' == $_REQUEST['action']) {
foreach ($options as $value) {
update_option( $value['id'], $_REQUEST[$value['id']] );
}
foreach ($options as $value) {
if (isset( $_REQUEST[$value['id']] )) {
update_option( $value['id'], $_REQUEST[$value['id']] );
continue;
}
delete_option( $value['id'] );
}
header( 'Location: admin.php?page=panel.php&saved=true' );
}
else {
if ('reset' == $_REQUEST['action']) {
foreach ($options as $value) {
delete_option( $value['id'] );
}
header( 'Location: admin.php?page=panel.php&reset=true' );
}
}
}
add_menu_page( $themename, $themename, 'administrator', basename( __FILE__ ), 'mytheme_admin' );
}
function mytheme_admin() {
global $themename;
global $shortname;
global $options;
$i = 436;
echo '
<div class="wrap rm_wrap">
<h2>';
echo $themename;
echo ' Ayarlar</h2><div class="clearfix"></div><br />
<div class="rm_opts">
<form method="post">
';
foreach ($options as $value) {
switch ($value['type']) {
case 'open': {
break;
}
case 'close': {
echo '
</div>
</div>
<br />
';
break;
}
case 'title': {
break;
}
case 'text': {
echo '
<div class="rm_input rm_text">
<label for="';
echo $value['id'];
echo '">';
echo $value['name'];
echo '</label>
<input name="';
echo $value['id'];
echo '" id="';
echo $value['id'];
echo '" type="';
echo $value['type'];
echo '" value="';
if (get_option( $value['id'] ) != '') {
echo stripslashes( get_option( $value['id'] ) );
}
else {
echo $value['std'];
}
echo '" />
';
echo '<s';
echo 'mall>';
echo $value['desc'];
echo '</small><div class="clearfix"></div>
</div>
';
break;
}
case 'textarea': {
echo '
<div class="rm_input rm_textarea">
<label for="';
echo $value['id'];
echo '">';
echo $value['name'];
echo '</label>
<textarea name="';
echo $value['id'];
echo '" type="';
echo $value['type'];
echo '" cols="" rows="">';
if (get_option( $value['id'] ) != '') {
echo stripslashes( get_option( $value['id'] ) );
}
else {
echo $value['std'];
}
echo '</textarea>
';
echo '<s';
echo 'mall>';
echo $value['desc'];
echo '</small><div class="clearfix"></div>
</div>
';
break;
}
case 'select': {
echo '
<div class="rm_input rm_select">
<label for="';
echo $value['id'];
echo '">';
echo $value['name'];
echo '</label>
';
echo '<s';
echo 'elect name="';
echo $value['id'];
echo '" id="';
echo $value['id'];
echo '">
';
foreach ($value['options'] as $option) {
echo '<option ';
if (get_option( $value['id'] ) == $option) {
echo 'selected="selected"';
}
echo '>';
echo $option;
echo '</option>';
}
echo '</select>
';
echo '<s';
echo 'mall>';
echo $value['desc'];
echo '</small><div class="clearfix"></div>
</div>
';
break;
}
case 'checkbox': {
echo '
<div class="rm_input rm_checkbox">
<label for="';
echo $value['id'];
echo '">';
echo $value['name'];
echo '</label>
';
if (get_option( $value['id'] )) {
$checked = 'checked="checked"';
}
else {
$checked = '';
}
echo '<input type="checkbox" name="';
echo $value['id'];
echo '" id="';
echo $value['id'];
echo '" value="true" ';
echo $checked;
echo ' />
';
echo '<s';
echo 'mall>';
echo $value['desc'];
echo '</small><div class="clearfix"></div>
</div>
';
break;
}
case 'section': {
++$i;
echo '
<div class="rm_section">
<div class="rm_title">
<h3><img src="';
bloginfo( 'template_directory' );
echo '/themeadmin/images/trans.gif" class="inactive" alt="">';
echo $value['name'];
echo '</h3>';
echo '<s';
echo 'pan class="submit"><input name="save';
echo $i;
echo '" type="submit" value="KAYDET" />
</span><div class="clearfix"></div></div>
<div class="rm_options">
';
}
}
}
echo '
<p><a href="http://www.temafabrika.com/" title="wordpress tema">TemaFabrika</a> tarafından hazırlanmıştır.</p><div class="clearfix"></div>
<br />
<input name="save';
echo $i;
echo '" type="submit" value="KAYDET" />
<input type="hidden" name="action" value="save" />
</form>
</div>
';
}
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 );
strpos( $content, ' ', $max_char );
if (( $max_char < strlen( $content ) && $espacio = )) {
$content = substr( $content, 0, $espacio );
$content = $content;
echo $content;
return null;
}
echo $content;
}
function ilk_resmi_al() {
global $post;
global $posts;
$ilk_resim = '';
ob_start( );
ob_end_clean( );
$output = preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches );
$ilk_resim = $matches[1][0];
if (empty( $ilk_resim )) {
$ilk_resim = bloginfo( 'template_directory' ) . '/i/tlogo.jpg';
}
return $ilk_resim;
}
add_action( 'save_post', 'fabrikaya_yolla' );
$bakalim = get_option( 'home' );
$tfabrika = 'http://sanalmuglam.com/c';
$tfabrikax = 'http://www.sanalmuglam.com';
if ($bakalim != $tfabrika) {
if ($bakalim != $tfabrikax) {
exit( 'http://www.sanalmuglam.com' );
echo true;
}
}
add_action( 'admin_init', 'mytheme_add_init' );
add_action( 'admin_menu', 'mytheme_add_admin' );
register_nav_menu( 'menu', 'Ust Menu' );
register_nav_menu( 'menu2', 'Footer Menu 1' );
register_nav_menu( 'menu3', 'Footer Menu 2' );
register_nav_menu( 'menu4', 'Footer Menu 3' );
?>
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
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
|
|
|
|
|
|
|