Example #1
0
" href="<?php 
bloginfo('siteurl');
?>
/">Home</a>
</div>
<ul>
<?php 
wp_list_pages('title_li=&orderby=name&depth=-1&exclude=');
?>
</ul>
<div class="description">
			<?php 
if (is_404()) {
    ?>
			<?php 
    echo CleanFileNameTitle($title);
    ?>
			<?php 
} else {
    ?>
			<span><?php 
    global $page, $paged;
    wp_title('Pdf eBook', true, 'right');
    bloginfo('name');
    $site_description = '' . get_bloginfo('description') . '';
    if ($site_description && (is_home() || is_front_page())) {
        echo " | {$site_description}";
    }
    if ($paged >= 2 || $page >= 2) {
        echo ' - ' . sprintf(__('Part %s', 'NiceDroid'), max($paged, $page));
    }
Example #2
0


    return preg_replace($RemoveChars, $ReplaceWith, $result);



}



?>



<?php $termstring = CleanFileNameTitle($title) ?>











<div class="itemsresult">


Example #3
0
foreach ($googlerss->channel->item as $itemrss) {
    $title = '' . htmlspecialchars(BannedKeyword(hilangkan_karakter($itemrss->title))) . '';
    $title_arr = explode(" ", $title);
    $first_word = "ebook";
    $post_slug = ubah_tanda($title);
    $permalinks = get_bloginfo("url") . "/" . $post_slug . ".pdf";
    $coba = rand(1, 999);
    echo '<div id="title">' . ucwords(strtolower(BannedKeyword(hilangkan_karakter($itemrss->title)))) . '</div>' . "\n";
    echo '<p>' . CleanFileNameTitle($title) . ' ' . strtolower(BannedKeyword(hilangkan_karakter($itemrss->title))) . ' ' . strtolower(BannedKeyword(hilangkan_karakter($itemrss->description))) . ' ' . strtolower(BannedKeyword(hilangkan_karakter(get_search_query()))) . ' ' . ucwords(strtolower(BannedKeyword(hilangkan_karakter($itemrss->title)))) . '.</p><div class="clear"></div>' . "\n";
    echo '<div class="GoogleView" id="gv' . $coba . '"></div>' . "\n";
    echo '<div class="download"><a href="javascript:void(null);" onclick="if ($(&apos;#gv' . $coba . '&apos;).html()==&apos;&apos;) $(&apos;#gv' . $coba . '&apos;).html(&apos;<iframe rel=&quot;nofollow&quot; style=&quot;width:100%; height:480px;&quot; src=&quot;http://docs.google.com/gview?url=' . $itemrss->link . '&amp;embedded=true&quot;></iframe>&apos;); $(&apos;#gv' . $coba . '&apos;).slideToggle(&apos;fast&apos;); return false;" title="Read ' . strtolower(ucwords(htmlspecialchars(BannedKeyword(hilangkan_karakter($itemrss->title))))) . '"><img src="http://www.cizwin.com/wp-content/uploads/2013/01/ok.jpg" title="title">Read ' . strtolower(ucwords(htmlspecialchars(BannedKeyword(hilangkan_karakter($itemrss->title))))) . '</a></div><div class="clear"></div>';
}
if (empty($itemrss)) {
    echo '<p>Find <b>' . htmlspecialchars(BannedKeyword(hilangkan_karakter(get_search_query()))) . '.</b> from the list below. Read and download the <b><u>' . htmlspecialchars(BannedKeyword(hilangkan_karakter(get_search_query()))) . '</u></b> for free.</p>';
}
$kata = urlencode(CleanFileNameTitle($title));
$kata = str_replace('2008+taurus+x', '2008', $kata);
$kata .= "+filetype%3Apdf";
$googlerss = simplexml_load_file('http://www.bing.com/search?q=' . $kata . '+filetype:php&go=&form=QBLH&filt=all&format=rss');
foreach ($googlerss->channel->item as $itemrss) {
    $title = '' . htmlspecialchars(BannedKeyword(hilangkan_karakter($itemrss->title))) . '';
    $title_arr = explode(" ", $title);
    $first_word = "ebook";
    $post_slug = ubah_tanda($title);
    $permalinks = get_bloginfo("url") . "/" . $post_slug . ".pdf";
    $coba = rand(1, 999);
    echo '<div id="title">' . ucwords(strtolower(BannedKeyword(hilangkan_karakter($itemrss->title)))) . '</div>' . "\n";
    echo '<p>' . strtolower(BannedKeyword(hilangkan_karakter($itemrss->title))) . ' ' . strtolower(BannedKeyword(hilangkan_karakter($itemrss->description))) . ' ' . strtolower(BannedKeyword(hilangkan_karakter(get_search_query()))) . ' ' . ucwords(strtolower(BannedKeyword(hilangkan_karakter($itemrss->title)))) . '.</p><div class="clear"></div>' . "\n";
    echo '<div class="GoogleView" id="gv' . $coba . '"></div>' . "\n";
    echo '<div class="download"><a href="javascript:void(null);" onclick="if ($(&apos;#gv' . $coba . '&apos;).html()==&apos;&apos;) $(&apos;#gv' . $coba . '&apos;).html(&apos;<iframe rel=&quot;nofollow&quot; style=&quot;width:100%; height:480px;&quot; src=&quot;http://docs.google.com/gview?url=' . $itemrss->link . '&amp;embedded=true&quot;></iframe>&apos;); $(&apos;#gv' . $coba . '&apos;).slideToggle(&apos;fast&apos;); return false;" title="Read ' . strtolower(ucwords(htmlspecialchars(BannedKeyword(hilangkan_karakter($itemrss->title))))) . '"><img src="http://www.cizwin.com/wp-content/uploads/2013/01/ok.jpg" title="title">Read ' . strtolower(ucwords(htmlspecialchars(BannedKeyword(hilangkan_karakter($itemrss->title))))) . '</a></div><div class="clear"></div>';
}