Archive

Posts Tagged ‘per page’

Descriptions Needed For Pages

September 22nd, 2009 Comments off

I have a site with 200 pages that need the following put in to them

10 Meta keywords MAX per page
Meta Description 10 words minimum 18 words MAX per page
Change page titles to something meaningful for the site and that page
Description – 10 words minimum 50 maximum per page

this will be done through a web interface. Each page should be as unique as possible and the descriptions should be meaningful not just cut and paste from somewhere else.

For Fast And Experience

August 24th, 2009 Comments off

AllFoodMenu.Com this project is accurately described, a quick job, and site is already up with features. Need to upgrade features and add features. If you do not know what a food menu is dont’ bother to bid.

You will need to input comments on all .php files as you do them. Require 1 week turn around at most. This will take at most 3-4 days. Need someone who can work fast budget is $175, estimated to be 10 hrs if you work fast, up to 20 hrs if you are slow. If you do part time on multiple projects you will take twice the amount of time meaning up to 40 hrs so I do not want that.
1) Do not bid if you are working on multiples and cannot complete in 7 days.
2) Do not bid if your English is horrible or do not read Job description.

Part 1: The Menu/Order layout

Website Content Needed

April 14th, 2009 Comments off

Our company is looking to hire a FAST – easy to work with, website writer.

Sales content mostly.

We sell health products. Mostly pills. We own 500 websites. And we have about many websites to write and more and more are being built by the day.

Please bid as you wish. But please let me know what your bidding, DO NOT just put 200 dollars.

The min bid here is 50 dollars I think. So lets stay above that.

I expect to pay around 3 or 4 dollars per page. You can bid per 5 page website. (all websites are 5 pages) OR You can bid per 10 websites. I dont mind. AGAIN, just please let me know what you are bidding on.

If you Y O U dont like the fact I am paying 3 to 4 dollars per page – Please move on, we both dont have the time to argue.

Please again – You can not be slow!!!!! If you take days and days per project, please dont bid. I prefer to move fast and pay fast.

Also 325-400 words per page.

You can start tonight :)

Mysql Php Pagination Fix

March 29th, 2009 Comments off

Hello,

I have a script, it displays all active banners using pagination. Once the banner is clicked it doesn’t show up again. This works fine.

The issue:

For example I’m displaying 25 banners per page, I have over 1000 active banners so there are 102 pages.

If I click on the all 25 of the banners on page one and then leave the site, the next time I come back to the site they do not show. This works correctly. But here is the problem, when I come back to the site page one is blank, I have to move on to page 2 in order to see the next round of banners. So in other words it’s not moving the banners up to page one.

I need this fixed.

Here is the code if you think you want to tackle it.

[code]
<?php

session_start();

include "../header.php";

include "../config.php";

include "../style.php";
$uname=$_SESSION[uname];
if( session_is_registered("ulogin") ) {

$tbl_name="banners"; //your table name

// How many adjacent pages should be shown on each side?

$adjacents = 3;

/*

First get total number of rows in data table.

If you have a WHERE clause in your query, make sure you mirror it here.

*/

if( session_is_registered("ulogin") )

{

$query = "SELECT COUNT(*) as num FROM banners, banner_clicks WHERE banners.status=1 and banners.max>banners.shown AND banner_clicks.userid<>'".userid."' group by banners.id";

}

else

$query = "SELECT COUNT(*) as num FROM $tbl_name WHERE status=1 and max>shown";

$ttlpag=mysql_query($query) or die (mysql_error());

$total_pages = mysql_fetch_array($ttlpag);

$total_pages = $total_pages[num];
$qn="select * from sat_banclicks where userid='$uname' group by bannerid";
$ns=mysql_query($qn);
$nk=mysql_num_rows($ns);
$total_pages=$total_pages-(2*$nk);
//echo $nk;

/* Setup vars for query. */

$targetpage = "bannerlinkview.php"; //your file name (the name of this file)

$limit = 25; //how many items to show per page

$page = $_GET['page'];

if($page)

$start = ($page - 1) * $limit; //first item to display on this page

else

$start = 1; //if no page var is given, set start to 0

/* Get data. */

if( session_is_registered("ulogin") )

{

$sql = "SELECT banners.id as id, banners.name as name, banners.bannerurl as bannerurl, banners.targeturl as targeturl, banners.userid as userid, banners.shown as shown, banners.clicks as clicks, banners.max as max, banners.added as added FROM banners, banner_clicks WHERE banners.status=1 and banners.max>banners.shown AND banner_clicks.userid<>'".userid."' group by banners.id LIMIT $start, $limit";

}

else

{

$sql = "SELECT * FROM banners WHERE status=1 and max>shown LIMIT $start, $limit";

}

$result = mysql_query($sql) or die (mysql_error());

if(!mysql_num_rows($result))

{

$result = mysql_query ("SELECT * FROM banners WHERE status=1 and max>shown LIMIT $start, $limit");

}

/* Setup page vars for display. */

if ($page == 0) $page = 1; //if no page var is given, default to 1.

$prev = $page - 1; //previous page is page - 1

$next = $page + 1; //next page is page + 1

$lastpage = ceil($total_pages/$limit); //lastpage is = total pages / items per page, rounded up.

$lpm1 = $lastpage - 1; //last page minus 1

/*

Now we apply our rules and draw the pagination object.

We're actually saving the code to a variable in case we want to draw it more than once.

*/

$pagination = "";

if($lastpage > 1)

{

$pagination .= "<div class="pagination">";

//previous button

if ($page > 1)

$pagination.= "<a href="$targetpage?page=$prev">

Categories: MySQL, PHP Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Classic Asp Website Completion

March 18th, 2009 No comments

controlpanel/AddPage.asp
- Microsoft OLE DB Provider for SQL Server error ’80040e2f’
Cannot insert the value NULL into column ‘PageId’, table ‘techno2_clcphoto.dbo.tblPages’; column does not allow nulls. INSERT fails.
/controlpanel/AddPage.asp, line 111

controlpanel/contactlist.asp
- currently the list is sorted from first to last – make it last to first and figure out why admin is not getting email.
- Needs to be 100 contacts per page as opposed to 25 per page
- controlpanel/MailToContactus.asp
gets an error – invalid email address

controlpanel/NewsletterList.asp
- I need a ‘select all’ from this page so admin an select all subscribers
- Needs to be 100 subscribers per page as opposed to 25 per page

Bear