Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

DimiTech.eu - New design, new extras

Asked Modified Viewed 11,609 times
S
StoyaN
S
StoyaN 10
  • Member, joined since
  • Contributed 162 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
asked
Member

Hi guys! My site is in action again! http://www.dimitech.eu/ This time the site is in English and have much software, hardware and IT news. Check it out and tell me your opinions :)

PS. I will be very grateful if you like my facebook page or become follower on twitter:
http://www.facebook.com/dimitech.eu
https://twitter.com/dimitech_eu
0 replies

24 posts

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

I have the guy on Facebook Richard I will let you know soon.
0 replies
S
spunk
S
spunk 10
www.duesseltag.de/../../images/banner/banner209x69.png
  • Member, joined since
  • Contributed 92 posts on the community forums.
  • Started 6 threads in the forums
answered
Member

The contact.php does not work either.

I have contact Dimi by e-mail.
0 replies
S
StoyaN
S
StoyaN 10
  • Member, joined since
  • Contributed 162 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
answered
Member

code for New Posts:


[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]<?php
if (!defined("IN_FUSION"wink) { die("Access Denied"wink; }
$cdn='http://cdn.dimitech.net/v7/';
global $lastvisited;
if (!isset($lastvisited) || !isnum($lastvisited)) { $lastvisited = time(); }
$data = dbarray(dbquery(
"SELECT tt.thread_lastpost
FROM ".DB_FORUMS." tf
INNER JOIN ".DB_THREADS." tt ON tf.forum_id = tt.forum_id
WHERE ".groupaccess('tf.forum_access'wink." AND thread_hidden='0'
ORDER BY tt.thread_lastpost DESC LIMIT ".($settings['numofthreads']-1).", 8"wink);
$timeframe = empty($data['thread_lastpost']) ? 0 : $data['thread_lastpost'];
$result = dbquery(
"SELECT user_avatar, tt.thread_id, tt.thread_subject, tt.thread_views, tt.thread_lastuser, tt.thread_lastpost,
tt.thread_poll, tf.forum_id, tf.forum_name, tf.forum_access, tt.thread_lastpostid, tt.thread_postcount, tu.user_id, tu.user_avatar, tu.user_name,
tu.user_status
FROM ".DB_THREADS." tt
INNER JOIN ".DB_FORUMS." tf ON tt.forum_id=tf.forum_id
INNER JOIN ".DB_USERS." tu ON tt.thread_lastuser=tu.user_id
WHERE ".groupaccess('tf.forum_access'wink." AND tt.thread_lastpost >= ".$timeframe." AND tt.thread_hidden='0'
ORDER BY tt.thread_lastpost DESC LIMIT 0,10"wink;
if (dbrows($result)) {
openside("New posts"wink;

$counter = 1; $columns = 2;
echo" <table width='100%' border='0' cellpadding='0' cellspacing='0' id='table-mneniq'>";
while ($data = dbarray($result)) {
echo "<tr>";
if ($counter == "1"wink { } else { echo "<td colspan='2' style='height:1px;background-color:#b8bcc5;'></td></tr><tr>";}
if ($data['user_avatar'] && file_exists(IMAGES."avatars/".$data['user_avatar'])) {
$avatar = "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='Avatar' width='34' style='vertical-align:middle;background:#FFF;border:1px solid #e4e8e9;border-collapse:separate;' height='34'/>\n";
} else {
$avatar = "<img src='http://www.dimitech.eu/images/avatars/noavatar100.png' alt='' style='vertical-align:middle;background:#FFF;border:1px solid #e4e8e9;border-collapse:separate;' width='34' height='34' />";
}
$padding="padding-top:3px;padding-bottom:3px;"; if ($counter == "1"wink { $padding= "padding-bottom:3px;"; } else { }
$otgovor = "posts";
if (($data['thread_postcount']-1)==1) { $otgovor = "post"; }
echo"
<td width='12' style='".$padding."padding-right:2px;vertical-align:middle;' valign='middle' align='right'><a href='".BASEDIR."profile.php?lookup=".$data['thread_lastuser']."' title='".$data['user_name']."'>".$avatar."</a></td>
<td style='".$padding."vertical-align:middle;' width='100%' align='left'>
<img src='".$cdn."images/bullet.gif' border='0' style='padding-left:2px;vertical-align:middle;' alt='-'/> <a href='".FORUM."viewthread.php?thread_id=".$data['thread_id']."&amp;pid=".$data['thread_lastpostid']."#post_".$data['thread_lastpostid']."' title='".$data['thread_subject']."'><span style='font-size:13px;font-weight:bold;'>".trimlink($data['thread_subject'], 36)."</span></a>
<br/><img src='".$cdn."images/downloads.gif' alt='-' style='vertical-align:middle;' /><span style='font-size:10px;'> ".($data['thread_postcount']-1)." <span class='info_text'>".$otgovor.", last: </span>".profile_link($data['thread_lastuser'], $data['user_name'], $data['user_status'])."</span></td>
</tr>";
$counter++;
}
echo "</table>";
closeside();
}

?>[/syntaxhighlighter]

Merged on Jun 02 2012 at 12:58:14:
code for Latest posts:

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]openside("Latest posts"wink;
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='forum-caption'></td></tr>";
$result = dbquery("
SELECT tt.*, tf.*, u.user_name FROM " . DB_THREADS . " tt
INNER JOIN " . DB_FORUMS . " tf ON tt.forum_id=tf.forum_id
INNER JOIN " . DB_USERS . " u ON tt.thread_lastuser=u.user_id
WHERE " . groupaccess('tf.forum_access'wink . "
ORDER BY thread_lastpost DESC LIMIT 5
"wink;
if (dbrows($result))
{
$count = 1;
while ($data = dbarray($result))
{
$class = ($count % 2 == 0 ? "tbl1" : "tbl1"wink;
$itemsubject = trimlink($data['thread_subject'], 50);
echo "<tr><td class='{$class}'>";
echo "<a href='viewthread.php?thread_id=" . $data['thread_id'] . "'>{$itemsubject}</a><br />";
echo "<small>by: " . profile_link($data['thread_lastuser'], $data['user_name'], "0", ""wink . "<br />";
echo ago($data['thread_lastpost']);
echo "</small></td></tr>";
echo"<tr><td style='height:1px;background-color:#ccc' colspan='6'></td></tr>";

$count++;
}
}

echo "</table>";
closeside();[/syntaxhighlighter]

Merged on Jun 02 2012 at 12:59:03:
code for Top 5 posters:

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]openside("Top 5 posters"wink;
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
$result = dbquery("SELECT * FROM " . DB_USERS .
" WHERE user_posts != 0 AND user_status !=6 AND user_status !=5 ORDER BY user_posts DESC LIMIT 5
"wink;
if (dbrows($result))
{
$count = 1;
while ($data = dbarray($result))
{
$class = ($count % 2 == 0 ? "tbl1" : "tbl1"wink;
$fcount = dbcount("(thread_author)", DB_THREADS, "thread_author='".$data['user_id']."'"wink;
echo "<tr><td class='{$class}'>";
// echo "<div style='float:right;'>#{$count}</div>";
if (!empty($data['user_avatar']) && file_exists(IMAGES."avatars/".$data['user_avatar'])) {
echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='' align='left' style='width:40px; height:40px; padding-right:6px;' /> \n";
} else {
echo "<img src='".IMAGES."avatars/noavatar100.png' alt='' align='left' style='width:40px; height:40px; padding-right:6px;' /> \n";
}
echo profile_link($data['user_id'], $data['user_name'], $data['user_status']);
echo "<br /><small>".number_format($data['user_posts'])." posts<br />";
echo "". number_format($fcount)." threads</small>";
echo "</td></tr>";
echo"<tr><td style='height:1px;background-color:#ccc' colspan='6'></td></tr>";

$count++;
}
}

echo "</table>";
closeside();[/syntaxhighlighter]
Edited by StoyaN on 02-06-2012 13:59,
0 replies
S
spunk
S
spunk 10
www.duesseltag.de/../../images/banner/banner209x69.png
  • Member, joined since
  • Contributed 92 posts on the community forums.
  • Started 6 threads in the forums
answered
Member

Great! Thank you! :G
0 replies
S
StoyaN
S
StoyaN 10
  • Member, joined since
  • Contributed 162 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
answered
Member

I also have to see why contact.php and the registrations doesn't work. I will fix them tonight. Is there anything else that's not working?
0 replies

Category Forum

Post Your Site

Labels

None yet

Statistics

  • Views 0 views
  • Posts 24 posts
  • Votes 0 votes
  • Topic users 11 members

11 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
S
S
  • Veteran Member, joined since
  • Contributed 920 posts on the community forums.
  • Started 79 threads in the forums
A
A
  • Senior Member, joined since
  • Contributed 725 posts on the community forums.
  • Started 128 threads in the forums
S
S
StoyaN 10
  • Member, joined since
  • Contributed 162 posts on the community forums.
  • Started 37 threads in the forums
  • Started this discussions
K
K
------------------------------
PHP-Fusion PL Crew | Spam Cop | My Site
  • Senior Member, joined since
  • Contributed 244 posts on the community forums.
  • Started 23 threads in the forums
M
M
Facebook site
https://www.facebook.com/Detherersjovt
The funniest facebook page in the world
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 15 threads in the forums
J
J
jikaka 10
www.rusfusion.ru - russian nss
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 82 threads in the forums
S
S
spunk 10
www.duesseltag.de/../../images/banner/banner209x69.png
  • Member, joined since
  • Contributed 92 posts on the community forums.
  • Started 6 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
B
B
http://www.bolja-buducnost.com.ba My best PHP-Fusion design.
  • Member, joined since
  • Contributed 88 posts on the community forums.
  • Started 14 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet