We need a PHP Programmer to help rewrite 2 php pages?

Discussion in 'Programming' started by Neo_The_One, Nov 8, 2007.

  1. #1
    Hi, Guys! ;)

    I need some help... :)

    - We have a running site and witch we need to do some recoding to get what we want?

    Here you have the orginal links of how the page is now, and i will describe what we need below.
    - We have i file the "index.php" file that show 10 on each page.
    - What we want to is only show a image + text on index.php and a link to index2.php
    - On index2.php we want to only show 1 image with the "textarea" below so users can copy the code from below.

    - We have done that part, it is all controllend with a "config" file we have made a new config file and just reentered the amount of images to show and we put in 1. Witch was the easy part.

    Now we need to link index.php to index2.php for each image.

    Here is the code from how we list the images in bouth index files:

    
    // Draw pagination
    	if ($numberOfPages > 1){
    		// echo 'showing ' . ($imageListStart + 1) . ' through ' . $imageListStop . ' of ' . $imageCount;
    		echo "\n\n" . '<div class="pageLinks">';
    		if($page != 1){
    			echo ' <a class="previous" href="' . $url2folder . '?page=' . ($page - 1) . '">&lt;</a>';
    		} else {
    			echo '<a class="previous"\>&lt;</a>';
    		}
    		for ($i = 1; $i <= $numberOfPages; $i++) {
    			echo ' <a href="' . $url2folder . '?page=' . $i;
    			if ($i == $page){ echo '" style="border-color:#' . $randomColors[$random10[0]] . ';color:#' . $randomColors[$random10[0]];}
    			echo  '">' . $i . '</a>' . "\n";
    		}
    		if($page != $numberOfPages){
    			echo ' <a class="next" href="' . $url2folder . '?page=' . ($page + 1) . '">&gt;</a>';
    		} else {
    			echo '<a class="next">&gt;</a>';
    		}
    		echo '</div><br /><br /><br>' . "\n\n";
    	}
    
    
    // Display image list
    $arr = array();
    
    if ($handle2 = opendir($root2folder . 'images/')) {
    	$cnt = 0;
    	while (false !== ($file = readdir($handle2))) {
    		if ($file != "." && $file != ".." && $file !="Thumbs.db") {
    			if(($cnt>=$imageListStart)&&($cnt<$imageListStop)){
    			array_push($arr, $file);
    			}
    			$cnt++;
    		}
    	}
    	closedir($handle2);
    }
    
    sort($arr, SORT_STRING);
    
    $i = 1;
    foreach($arr as $val) {
    	echo '<div class="codeForm">' . "\n" .
    	'<img src="' . $pb2folder . 'images/' . $val .'" alt="' . $val . '" /><div class="textarea">' . "\n" .
    	'<form action=""><input type="text" name="showImage' . $i . '" class="showImageTextBox" onfocus="this.form.showImage' . $i . '.select()" onclick="this.form.showImage' . $i . '.select()" value="&lt;a href=&quot;' . $urlBase . '&quot;&gt;&lt;img src=&quot;' . $pb2folder . 'images/' . $val . '&quot;  alt=&quot;' . $imgAlt . '&quot;&gt;&lt;/a&gt;' . $linkBack . '" onmouseover="this.style.borderColor=\'#' . $randomColors[$random10[0]] . '\'" onmouseout="this.style.borderColor=\'#555555\'"  /></form>' . "\n" .
    	'</div></div>' . "\n\n";
    	$i++;
    }
    
    PHP:
    We would like ot use htaccess aswell to now show like /index2.php?page=3
    but maybe

    /subdirectory/myspace-image-3

    THIS WILL BE A REWARDING JOB! WE HAVE THE FOUNDS, WE NEED A CODER! :)

    - Please help us out.. And state your price?


    Thank You!
     
    Neo_The_One, Nov 8, 2007 IP
  2. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hey Neo, sounds pretty easy. Let's get in touch via PM so I can get some more details, and give you an exact price.
     
    omgitsfletch, Nov 8, 2007 IP
  3. Neo_The_One

    Neo_The_One Active Member

    Messages:
    555
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Great! ;)

    Please PM me your offers, i`m wainting for a good offer !:)
     
    Neo_The_One, Nov 8, 2007 IP
  4. heroic

    heroic Peon

    Messages:
    252
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    hey i can do this at the cheapest of all prices...

    pm me if interested...
     
    heroic, Nov 8, 2007 IP
  5. Neo_The_One

    Neo_The_One Active Member

    Messages:
    555
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    Thanks guys! ;)

    Allready got in touch with one who fixed it 80% waiting for him to give me a sollution so it completly works..

    I will update you if i still need one..

    Thaks again!
     
    Neo_The_One, Nov 10, 2007 IP
  6. Neo_The_One

    Neo_The_One Active Member

    Messages:
    555
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    Hi, guys!

    This is still not fixed, my other coder took the money and run off!?

    Could any one help, it`s allmost coded but has some errors witch needs to be fixed

    Thanks!
     
    Neo_The_One, Dec 12, 2007 IP
  7. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #7
    I can sort it out in $50

    50% advance

    And if i am not able to i will refund the money simply


    Regards

    Alex
     
    kmap, Dec 12, 2007 IP
  8. ideas_man

    ideas_man Active Member

    Messages:
    212
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    Project completed, Thanks :)
     
    ideas_man, Dec 21, 2007 IP