Search found 16 matches

by riiel
Tue Feb 16, 2010 4:52 am
Forum: PHP - Code
Topic: what is wrong ?
Replies: 7
Views: 518

Re: what is wrong ?

I solved the problem ;)    <br><a href="?pID=52">Score II fotokonkurss</a>! - <? if($konkurss->osaleb($picArr[$i]["pid"]) == true){ ?> <a href="?pID=8&act=delkonkurss&pilt=<?=$picArr[$i]["pid"];?>">Kustuta konkursilt</a><? } else { if(date("d"...
by riiel
Tue Feb 16, 2010 4:47 am
Forum: PHP - Code
Topic: what is wrong ?
Replies: 7
Views: 518

Re: what is wrong ?

This code was hiddened in php <? /* <br><a href="?pID=52">Score II fotokonkurss</a>! - <? if($konkurss->osaleb($picArr[$i]["pid"]) == true){ <a href="?pID=8&act=delkonkurss&pilt=<?=$picArr[$i]["pid"];?>">Kustuta konkursilt</a><? } else { if(date("...
by riiel
Tue Feb 16, 2010 4:18 am
Forum: PHP - Code
Topic: what is wrong ?
Replies: 7
Views: 518

Re: what is wrong ?

I think there are (<?php, ?>) tag's missing or in wrong places
by riiel
Tue Feb 16, 2010 4:05 am
Forum: PHP - Code
Topic: what is wrong ?
Replies: 7
Views: 518

Re: what is wrong ?

Sorry, my english is not very good.
by riiel
Tue Feb 16, 2010 2:28 am
Forum: PHP - Code
Topic: what is wrong ?
Replies: 7
Views: 518

what is wrong ?

<br><a href="?pID=52">Score II fotokonkurss</a>! - <? if($konkurss->osaleb($picArr[$i]["pid"]) == true){ <a href="?pID=8&act=delkonkurss&pilt=<?=$picArr[$i]["pid"];?>">Kustuta konkursilt</a><? } else { if(date("d") < 25)         { <a href=&q...
by riiel
Fri Feb 05, 2010 1:44 am
Forum: PHP - Code
Topic: Deleting user
Replies: 4
Views: 288

Re: Deleting user

Can somebody help me ? :S
by riiel
Wed Feb 03, 2010 10:45 am
Forum: PHP - Code
Topic: Deleting user
Replies: 4
Views: 288

Re: Deleting user

but how i can do this ?
by riiel
Tue Feb 02, 2010 5:52 am
Forum: PHP - Code
Topic: Deleting user
Replies: 4
Views: 288

Deleting user

i have script what delete all user who are blocked. But I want a script where I can choose which blocked users can I delete. Delete all blocked user script: <SCRIPT TYPE="text/javascript" LANGUAGE="javascript" SRC="blocker.php"> </SCRIPT>   <? if($users->checkULevel() =...
by riiel
Sat Jan 30, 2010 1:14 pm
Forum: PHP - Code
Topic: Gender icon
Replies: 11
Views: 342

Re: Gender icon

I made this but it display only female icon :S <? ($users->getCurGender == 1)?$sexicon="<img src='/gfx/ico/user_mature.png' /> ":$sexicon="<img src='/gfx/ico/user_female.png' /> ";?> <?=$sexicon?> <a href="?uID=<?=$users->getCurUid();?>"><b>               <?=$users->get...
by riiel
Sat Jan 30, 2010 11:33 am
Forum: PHP - Code
Topic: Gender icon
Replies: 11
Views: 342

Re: Gender icon

I'm interested, i have homepage and i want explicate this ;)
by riiel
Sat Jan 30, 2010 11:07 am
Forum: PHP - Code
Topic: Gender icon
Replies: 11
Views: 342

Re: Gender icon

But what i must to do ?
by riiel
Sat Jan 30, 2010 10:45 am
Forum: PHP - Code
Topic: Gender icon
Replies: 11
Views: 342

Re: Gender icon

if they are a male then display the female icon, If they are female then display the female icon.
by riiel
Sat Jan 30, 2010 10:23 am
Forum: PHP - Code
Topic: Gender icon
Replies: 11
Views: 342

Re: Gender icon

i made this and both genres have now female icon <?php $icon1="<img src='/gfx/ico/user_mature.png' /> "; $icon2="<img src='/gfx/ico/user_female.png' /> ";   if ($users->getCurGender == 1 && $users->getCurGender == 2)     echo $icon1; else     echo $icon2; ?>
by riiel
Sat Jan 30, 2010 7:55 am
Forum: PHP - Code
Topic: Gender icon
Replies: 11
Views: 342

Gender icon

How to do this: If user is male than male icon front of username and if user is female than female icon mysql table "users" row "gender" Male=1 & Female=2 <a href="?uID=<?=$users->getCurUid();?>"><b>               <?=$users->getUsername($users->getCurUid());?> Like:...
by riiel
Mon Apr 27, 2009 3:59 am
Forum: PHP - Code
Topic: Cron (PHP)
Replies: 2
Views: 426

Re: Cron (PHP)

Sorry about that. I have in my mysql database this table: day_leaders and there are some rows id imgid imgsr useri points date sex Jacpot skript example: Person of the day Person of the day will be a user who has been on the top of the chart the most (there are separate charts for men and women). Th...