Theme

 1
<?php
 2

 3
global $is_gallery; $is_gallery = 1; ?>
 4

 5
<?php get_header(); ?>
 6

 7
<div style="height:4px"></div>
 8

 9
<div style="float:left; margin:9px 0 -9px 25px; height:0px; overflow:visible;">
 10
<h2 style="margin:0px; color:#b85b5a; font-size:1.2em; font-family: Verdana, 'Arial Unicode MS', 'Lucida Grande';"><nobr><a style="color:#b85b5a;" href="/wp-login.php?action=register"><?php echo __('Register'); ?></a>&nbsp;|&nbsp;<a style="color:#b85b5a;" href="<?php
 11

 12
 
global $user_ID; get_currentuserinfo();
 13

 14
 if(
$user_ID!='') echo '/wp-login.php?action=logout">', __('Logout');
 15

 16
  else echo
'/wp-login.php">', __('Login');
 17

 18
?></a>&nbsp;»</nobr></h2>
 19
</div>
 20

 21
<div id="sidebar" style="float:right; padding:4px 25px 0 0; margin-bottom:-3.0em; width:120px; overflow: visible">
 22
<div style="position: relative; right:70px; width:190px">
 23
<form onsubmit="document.getElementById('q').value = document.getElementById('s').value;
 24
document.getElementById('sa').click();
 25
return false;" action="" id="searchform">
 26
<div><input value="" name="s" id="s" type="text">
 27
<input id="searchsubmit" value="Search" onclick="document.getElementById('q').value = document.getElementById('s').value;
 28
document.getElementById('sa').click();
 29
return false;" type="button">
 30
<div style="margin: -1px 2ex -1.1em 0pt; text-align: right; color: rgb(166, 201, 219); font-size: 1em; letter-spacing: -0.1ex;"><b><?php echo I18N_X('Now powered by'); ?><font style="font-family: 'Times New Roman'; font-size: 1.2em;"> YaCy*</font></b></div>
 31
</div></form>
 32

 33
<div style="display: none;">
 34

 35
<form target="_top" action="http://www.digitaldevildb.com/search/<?php echo $lang; ?>" id="cse-search-box" style="padding: 5px 3px; text-align: right;">
 36
  <div>
 37
    <nobr><input name="q" id="q" style="border: 1px solid rgb(126, 157, 185); padding: 2px; background: rgb(255, 255, 255) url(http://www.google.com/coop/intl/en/images/google_custom_search_watermark.gif) no-repeat scroll left center; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" size="15" type="text">
 38
    <input name="sa" id="sa" value="Search" style="margin: 2px 0px; padding: 1px;" type="submit"></nobr>
 39
  </div>
 40

 41
</form>
 42

 43
</div></div>
 44
</div>
 45

 46
<div style="height:3px"></div>
 47

 48
<br style="clear:right" />
 49

 50

 51

 52
    <div id="content" class="widecolumn">
 53

 54
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 55

 56
        <div class="navigation">
 57

 58
<div style="float:left; position: relative; left:-130px; margin-right:-130px; height:300px;">
 59
<script type="text/javascript"><!--
 60
/* 120x600, created 11/23/08 */
 61
//goooooooooooooogle_ad_width = 120;
 62
//goooooooooooooogle_ad_height = 600;
 63
//-->
 64
</script>
 65
</div>
 66
        
 67
<div align="left"><?php
 68

 69
global $lang; if($lang=='||') previous_post_link('&laquo; %link'); //...
 70

 71
else if($prev_post = get_previous_post(0,'47')) //Pagetree
 72
{
 73
 
$xlat = get_post_meta($prev_post->ID,substr($lang,0,2),1);
 74

 75
 if(
$xlat) $xlat = explode("\n",$xlat);
 76

 77
 echo
'<a href="', get_permalink($prev_post->ID), '">&laquo; ',
 78

 79
       (
$xlat?$xlat[0]:$prev_post->post_title), '</a>';
 80
}
 81
?>&nbsp;&nbsp;</div>
 82

 83
<div style="float:right; position: relative; left:130px; margin-left:-130px; height:0px;">
 84
<script type="text/javascript"><!--
 85
/* 120x600, created 11/23/08 */
 86
//goooooooooooooogle_ad_width = 120;
 87
//goooooooooooooogle_ad_height = 600;
 88
//-->
 89
</script>
 90
</div>
 91

 92
<div align="right">&nbsp;&nbsp;<?php
 93

 94
global $lang; if($lang=='||') next_post_link('%link &raquo;'); //...
 95

 96
else if($next_post = get_next_post(0,'47')) //Pagetree
 97
{
 98
 
$xlat = get_post_meta($next_post->ID,substr($lang,0,2),1);
 99

 100
 if(
$xlat) $xlat = explode("\n",$xlat);
 101

 102
 echo
'<a href="', get_permalink($next_post->ID), '">',
 103

 104
       (
$xlat?$xlat[0]:$next_post->post_title), ' &raquo;</a>';
 105
}
 106
?></div>
 107

 108
        </div>
 109

 110
        <div class="post" id="post-<?php the_ID(); ?>">
 111
<?php
 112
global $lang; $xlat = 0;
 113

 114

 115
if(
$lang!='')
 116
{
 117
 
$xlat = get_post_meta($post->ID,substr($lang,0,2),true);
 118

 119
 if(
$xlat) $xlat = explode("\n",$xlat);
 120
}
 121

 122
$author_link = get_the_author_url();
 123

 124
if(
$author_link)
 125
 
$author_link = '<a href="'.$author_link.'">'.get_the_author().'</a>';
 126
  else
$author_link = get_the_author();
 127

 128
$syndicate = get_post_meta($post->ID,'syndicate',true);
 129

 130
if(
$syndicate&&substr($syndicate,0,7)=='http://')
 131
{
 132
 
$siteuri = strpos($syndicate,'/',7);
 133

 134
 
$website = is_bool($siteuri)?substr($syndicate,7):substr($syndicate,7,$siteuri-7);
 135

 136
 
$syndicate = '<a target="_blank" href="'.$syndicate.'">'.$website.'</a>';
 137
}
 138
else
$syndicate = '<a href="'.$lang.'">www.digitaldevildb.com</a>';
 139

 140
?>
 141

 142
            <h2 class="d3-post-title"><?php if($xlat) echo $xlat[0]; else the_title(); ?></h2>
 143
<div style="margin:0; text-align:left"><small><?php printf(I18N_X('%1$s by %2$s at %3$s'),get_the_time(I18N_X('F jS, Y')),$author_link,$syndicate); ?></small></div>
 144

 145

 146

 147

 148

 149
            <div class="entry">
 150
                <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
 151

 152
<?php $retro = get_post_meta($post->ID,'retro',true); if($retro) $retro = explode(' ',$retro);
 153

 154
if(
$retro) echo '<p>',__('Retro-posted'), ' ', __($retro[0]), ' ', $retro[1], ' ', $retro[2], '</p>'; ?>
 155

 156
<?php if($xlat)
 157
{
 158
 if(
$xcred=get_userdata(intval($xlat[1])))
 159
 {
 160
  
$xurl = $xurl?('<a href="'.$xurl.'" title="'.sprintf(__('Visit %s\'s website'),$xcred->display_name).'" rel="external">'.$xcred->display_name.'</a>'):$xcred->display_name;
 161
 }
 162
 else
$xurl = substr($xlat[1],strpos($xlat[1],' ')); //fallback credits
 163

 164
 
echo '<p><small>',sprintf(__('Translated thanks to %s'),$xurl),'</small></p>';
 165

 166
}
?>
 167

 168
<form id="discussion" target="_blank" action="/bbs/index.php?border=WP&action=search2;brd[]=15;subject_only=1;" method="post" accept-charset="UTF-8" style="display:none">
 169
                        
 170
    <textarea name="search">"NEWS: <?php echo str_replace("&","&amp;",htmlspecialchars(strip_tags($post->post_title))); ?>"</textarea>
 171
</form>
 172

 173
<a href="javascript:document.getElementById('discussion').submit()">Forum Discussion »</a>
 174

 175
                <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
 176
<?php the_tags( '<p>Tags: ', ', ', '</p>'); ?>
 177

 178
                <p class="postmetadata alt">
 179
                    <small>
 180
                        This entry was posted
 181
                        <?php /* This is commented, because it requires a little adjusting sometimes.
 182
                            You'll need to download this plugin, and follow the instructions:
 183
                            http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
 184
                            /* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */
?>
 185
on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
 186
and is filed under <?php the_category(', ') ?>.
 187
                        You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
 188

 189
                        <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
 190
                            
// Both Comments and Pings are open ?>
 191
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
 192

 193
                        <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
 194
                            
// Only Pings are Open ?>
 195
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
 196

 197
                        <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
 198
                            
// Comments are open, Pings are not ?>
 199
You can skip to the end and leave a response. Pinging is currently not allowed.
 200

 201
                        <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
 202
                            
// Neither Comments, nor Pings are open ?>
 203
Both comments and pings are currently closed.
 204

 205
                        <?php } edit_post_link('Edit this entry','','.'); ?>
 206

 207
                    </small>
 208
                </p>
 209

 210
            </div>
 211
        </div>
 212

 213
    <?php comments_template(); ?>
 214

 215
    <?php endwhile; else: ?>
 216

 217
        <p>Sorry, no posts matched your criteria.</p>
 218

 219
<?php endif; ?>
 220

 221
    </div>
 222

 223
<?php get_footer(); ?>


© Digital Devil Database

Leave a Reply

You must be logged in to post a comment.


Front Page | Sitemap | D3 Archives

© Copyright Digital Devil Database 2005-2010. All rights reserved. ™ and © for all products, characters, and indicia related thereto which are contained herein are owned by the companies who market or license those products. This web site is not endorsed, sponsored, nor otherwise affiliated with Atlus. It has been created for the sole purposes of entertainment and knowledge.


Fredric Paul’s article touched off a discussion with some colleagues of mine, who agreed that Google abuses has become careless thanks to its “monopoly” with AdSense by (among other things) callously dropping AdSense participants for alleged click fraud without a reasonable appeals policy. A request for an explanation fell on deaf ears, and my colleague was left with the impression that Google “would have been more likely to work with me,” if it weren’t in such a strong position.
blogs.zdnet.com