Ok, here are the changes you need to make:
On the mainpage.php update this line (line #40):
$ra_details = $db->random_rows(‘reverse_auctions’, ‘reverse_id, name, budget_id, nb_bids, currency, end_time’, $select_condition, $layout[‘r_hpfeat_max’]);
to this:
$ra_details = $db->random_rows(‘reverse_auctions’, ‘reverse_id, name, budget_id, nb_bids, currency, end_time, country, state’, $select_condition, $layout[‘r_hpfeat_max’]);
On the mainpage.tpl.php replace the code below (lines #95-99):
<?=MSG_COUNTRY;?>: <? echo $tax->display_countries($item_details[‘country’]) ;?><br>
<? echo $item->item_location($item_details[$counter],false) ;?><br>
<b><?=MSG_BUDGET;?>: </b> <? echo $feat_fees->budget_output($ra_details[$counter][‘budget_id’], null, $ra_details[$counter][‘currency’]) ;?> <br>
<b><?=MSG_NR_BIDS;?>: </b> <? echo $ra_details[$counter][‘nb_bids’];?> <br>
<b><?=MSG_ENDS;?>: </b> <? echo show_date($ra_details[$counter][‘end_time’]); ?> </td>
with this:
<?=MSG_COUNTRY;?>: <? echo $tax->display_countries($ra_details[$counter][‘country’]);?><br>
<? echo $item->item_location($ra_details[$counter],false);?><br>
<b><?=MSG_BUDGET;?>: </b> <? echo $feat_fees->budget_output($ra_details[$counter][‘budget_id’], null, $ra_details[$counter][‘currency’]);?> <br>
<b><?=MSG_NR_BIDS;?>: </b> <? echo $ra_details[$counter][‘nb_bids’];?> <br>
<b><?=MSG_ENDS;?>: </b> <? echo show_date($ra_details[$counter][‘end_time’]); ?> </td>
Hello Tom8, thank you for those informative replies, I am learning … slowly … lol
We all started as babies and learned how to walk slowly… in time not only will we could walk faster but can run as well, so be patient. Unfortunately as we get older, which is where I am now, we going back and walk slowly again. So as you can see you could easily pass me if you keep on learning. However, as long as my mind is still active, I will continue to provide info that you might find useful.