Closed Thread
2 small changes needed
Old 01-30-2008, 06:32 AM 2 small changes needed
Experienced Talker

iTrader Rating: 0 (View)
Posts: 34
Name: Jin
Location: Bangkok
I need 2 changes to the way images are shown on my website.

I have a website that freelancers can sign up and in their profile they can upload some images of work they have done, these images are automatically shown on the home page with the designer’s name and a link to there portfolio.

These are the 2 things I need done:
  • Limit the amount of portfolios on the home page, I would like to show 3 rows of 5.
  • I would like to have the portfolios cycle so if the page is refreshed then other designers will have there portfolio showing.
I have made the modifications myself and the code that I use to get the portfolios to display on the home page is pasted below, how do I change this code to get it to work properly, any help with this would be absolutely great.

PHP Code:
<td><?
                                    $freelance_user_portf 
SQLact ("query","SELECT * FROM freelancers_programmers WHERE portfolio > 0");
                            
$freelance_user_portf_rows  SQLact("num_rows",  $freelance_user_portf);
                                    if (
$freelance_user_portf_rows 0){
                                                while (
$row SQLact ("fetch_array"$freelance_user_portf)){
                                                            
$arg $row[portfolio];
                                                            
$rcc explode("
"
$arg);
                                                            
$k=0;
                                                             
$max_upload count($rcc);
                                                            for (
$i=0;$i<count($rcc);$i++) {
                                                                        
$lem explode("&&"$rcc[$i]);
                                                                        
$image_id[$k] = $lem[0];
                                                                        
$image[$k] = $lem[1];
                                                                        
$k++;
                                                            }
                                                            
//print_r($image);
                                                               
$rand_num rand(0,$max_upload-1);
                                                                        echo 
'<td class="BlackB"><a href="' $siteurl '/freelancers.php?viewprofile=' $row[username
                                                                        .
'" target="_blank"><img src="' 
                                                                                    
$attachurl '/' $image[$rand_num] . '" width="100" height="100" border="0"></a><br><br>';
                                                                        echo 
$row[username].'</td>';
                                                            
//}
 
                                                
?>
 
                                                <?
                                                
}
                                    }
                                    
?></td>
Right now the portfolios are going accross the whole page messing up the design of the site so if someone can do this we can do it right away.
Thai Freelance is offline
View Public Profile Visit Thai Freelance's homepage!
 
When You Register, These Ads Go Away!
     
Old 02-04-2008, 02:53 PM Re: 2 small changes needed
solomongaby's Avatar
Webmaster Talker

iTrader Rating: 1 (View)
Latest Blog Post:
How Do You Find Music Online ?
Posts: 522
Name: Gabe Solomon
Location: Romania
i am interested if the job is still open
__________________
If you like my posts ... TK is appreciated:)
Web Directory | Blog
solomongaby is offline
View Public Profile Visit solomongaby's homepage!
 
Old 02-05-2008, 04:11 AM Re: 2 small changes needed
Super Spam Talker

iTrader Rating: 6 (View)
Posts: 872
I'm interested in this job. I have sent you a PM
Sir P is offline
View Public Profile
 
Old 02-05-2008, 07:49 PM Re: 2 small changes needed
Snodigator's Avatar
Experienced Talker

iTrader Rating: 0 (View)
Posts: 49
Name: snoddingcreative
Interested! Contacted you via your website.

PM or email for more details about me and to organise.

Regards
Snodigator is offline
View Public Profile
 
Old 02-06-2008, 05:22 AM Re: 2 small changes needed
Experienced Talker

iTrader Rating: 0 (View)
Posts: 34
Name: Jin
Location: Bangkok
Thanks for showing your interest in this project as an update I work it out with solomongaby to do the project.

For others that come here who need someone to help with some web site programming and happen to read this post. The person I chose to do this project did an exceptional job. He did it with speed and outstanding communication. I will be using this programmer for many projects to come.

I am sure there are a lot of good programmers on this website but not knowing them or being able to meet them face to face brings a high degree of insecurity when it comes to website security and over the years I am the type of person that does not trust anyone especially when I can’t get my hands on them if they screw me over, but solomongaby was such a professional dealing with me and this task I have no problems what so ever to give him my many many of projects.

Thanks again solomongaby for a professional and perfect job.
Thai Freelance is offline
View Public Profile Visit Thai Freelance's homepage!
 
Closed Thread     « Reply to 2 small changes needed
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13385 seconds with 13 queries