Archive

Posts Tagged ‘variables’

Panel That Rewrites Variables Online On Php File

November 16th, 2011 Comments off

I need the following application for the web, under PHP.

1. One control panel or “page” where the user can create new variables, and modify its content (numeric values).
2. Option to delete variables.
3. Option to update variables.
All changes must be applied to one php, named counter.php

Example: I enter the system and create the variable “cars”. I put its value in 3. counter.php must then have the statement $cars = 3;

The file must be updated for each new variable created, variable…

Quick & Easy Php/html 5 Vars Parse

September 26th, 2011 Comments off

Only bid if you can communicate with me through gchat.

Only bid if you can do this project right NOW. I am online and will wait for you to finish as this project is time urgent for me.

I have a page which automatically submitted some variables to a database, but aweber is now requiring that I submit the form directly to aweber first instead.

So I need the same variables submission on the thank you page after aweber has passed through the variables.

I’m attaching the
1. original page code (which worked fine…lines 9-21 contain db submit code registration_orig.php)
http://americansrecruitingassociation.net/registration_orig.php

2. new front end page (works fine line…line 117 forwards variables registration.php)
http://americansrecruitingassociation.net/registration.php

3. thank you page (which needs the forwarded variables parsed and submitted registrationthankyou0.php)
http://americansrecruitingassociation.net/registrationthankyou0.php

Product Design Variables For Web

September 13th, 2011 Comments off

Hello.

We are a stone company and have many stone designs that can be customized by our customers with different colors of stone. We are looking for an online version that will allow our customers to:

1. Pick a design
2. Modify the stone type in a particular area in the design.

For an example you can go to a competitor website to see what they call a Colorizer. The functionality will be the same, but we will want the layout and look to be much different.

go to www.waterjetwonders.com
Next click any product and then click “Click her to Colorize”.

You will then see how this works.

Thank you.

Safari & Ios Browser (variable) Problem

August 9th, 2011 Comments off

We’re running into a problem with a couple variables on our checkout page. The page has MANY variables, and all of them are working fine on IE, Chrome, and FF.

In fact, ALL except two variables are working on Apple browsers. However, these two variables are not working properly on:
* Safari 5.0.3 (6533.19.4) on Mac
* iOS 4.2.1 (8C148) on iPad
* Version 4.3.3 (8J2) on iPhone

I’ve attached a screenshot of the problem, and the php file which generates this page. I should add that on one machine running Safari 5.0.3, the variables are also working fine.

You’ll note the two variables that aren’t working are in relation to calculating the final price at checkout. I need to solve this as quickly as possible, as users on the “broken” versions cannot currently buy anything on our site since no value is being calculated to pass through the payment gateway.

Please include the word APPLESAUCE as the first word of any reply or bid to ensure you’ve read the full post (and hopefully looked at the attachments).

Get Basic Variables From Clickbank Sale Using Php

July 20th, 2011 Comments off

Looking for a basic php script that will get the basic information from a clickbank sale, including; receipt ID, name & email of the buyer.

WordPress Plugin

July 14th, 2011 Comments off

Hello,

I am looking for a WP plugin programmer who would be able to make a plugin for me. Basically, I would need a plugin to grab page data from one website (I will let you know what website it is later), turn it into iframe and publish it on my WP site. Besides, before publishing, I should be able to see current title and meta description of grabbed page and input my own (should work with Cyrillic). Moreover, I should be able to input some additional content to each page published with some variables, which I should be able to input for each page.

In other words, it should work like this.
1. Grab pages in bulk (20-50 pee each time).
2. Show title and meta description of the page next to it.
3. Provide fields for adding custom title and meta description that should be used when page is published.
4. Provide heading field where custom heading is entered and placed before grabbed page (iframe).
5. Provide content field where custom content is entered and placed under grabbed page (iframe).
6. Provide additional field where variables are indicated. For example, there will be 2-3 variables that will be used in points 2, 3, 4 and 5. I should be able to set variables for each page.
7. I should be able to save some standard text for points 2, 3, 4, and 5 so that they automatically are filled in these fields once new pages are grabbed.
8. I should be able to place each page under certain category/subcategory.

I should be able to publish pages in bulk once they are edited.

Let me know your price for this plugin.

Add Columns And Insert Server Superglobal Variables

June 17th, 2011 Comments off

I need some of the superglobal server variables to insert in my db
when the script is loaded.

Pass 2 Variables Thru Flash Script Using Php

April 21st, 2011 Comments off

I have a flash banner ad at http://lijk.info/flash/ad1.php?src=source1&kw=personals. I can’t figure out how pass the two dynamic variables “src” and “kw” to the destination page using php. The destination link is working but the two variables aren’t being passed correctly. The project will be awarded very quickly (hours not days).

Forms Creation For Landing Page

April 13th, 2011 Comments off

Heres what i’m needing:

1. Simple drop-down form that I can insert on my
landing pages. See an example here >>
http://quizgrabber.com/favorite_superhero/

With this drop-down I need it to ::

A. Redirect to URL (upon submit)
B. Be Editable… (add to or delete)
————-

I also need a custom form created that will contain the fields seen here >> http://quizgrabber.com/favorite_superhero/register.html

I need to simply be able to drop the form into my editor and go.

I need it to ::

A. Redirect to URL (upon submit)
B. Post Sign-ups submission data to my email
C. Pass variables to a URL Query String via ‘Get’ or ‘Post’ on Submit methods …i’d supply the variables that need to pass.
D. Country field should be for U.S. only

Note:: The problem with the existing form is it doesn’t allow me to enter the FULL redirect url…..its a very long url that gets truncated.
Also it doesn’t pass variables.

Simple Vb Code Required

March 9th, 2010 Comments off

I require the code for a very simple VB application, which when launched, asks the user to specify the values of several variables. Then when completed, the app creates a new file containing several lines of data, which will include the specified variables in it, and prompts the user to save it as a php file.
I require the code for this to be usable in Visual Basic 2008 or similar so it can be modified by myself later to capture different variables for different situations.(Note- VB-6 requires translating before it’s usable in Visual Basic 2008)

The initial variables I require capturing are:
1-Username
2-password
3-contact email address
4-domain name(URL)
5-site name

Then the php file created needs to be something like:
<?php
$username = “VARIABLE_HERE”;
$password = “VARIABLE_HERE”;
$emailinfo = “VARIABLE_HERE”;
$domain = “VARIABLE_HERE”;
$yoursitename = “VARIABLE_HERE”;
?>
I also have a similar application which does the same type of thing which I can provide if more clarity is required of what I need.

Simple Vb App. Code.

March 9th, 2010 Comments off

I require the code for a very simple VB application, which when launched, asks the user to specify the values of several variables. Then when completed, the app creates a new file containing several lines of data, which will include the specified variables in it, and prompts the user to save it as a php file.
I require the code for this to be usable in Visual Basic 2008 or similar so it can be modified by myself later to capture different variables for different situations.
The initial variables I require capturing are:
1-Username
2-password
3-contact email address
4-domain name(URL)
5-site name

Then the php file created needs to be something like:
<?php
$username = “VARIABLE_HERE”;
$password = “VARIABLE_HERE”;
$emailinfo = “VARIABLE_HERE”;
$domain = “VARIABLE_HERE”;
$yoursitename = “VARIABLE_HERE”;
?>
I also have a similar application which does the same type of thing which I can provide if more clarity is required of what I need.

Php Remove Params From Url

February 4th, 2010 Comments off

Example: hxxp://camstudio.org/aff
(2 variables set and redirects to this URL passing the variables in the URL)

hxxp://nickthegeek.com/afftest.php?aweber=102591&clickbank=nickdageek

This script grabs and displays the variables from the URL, but I need some code to remove the extra params from the URL, so it looks like:

hxxp://nickthegeek.com/afftest.php

… but still allow me to display the passed variables on multiple pages on the nickthegeek.com site.

I’ve attached copies of the two PHP files to hopefully make it easier for you.

Categories: PHP Tags: , , , , , ,

Replace Ad Code

January 29th, 2010 Comments off

*** I am only looking for skilled PHP coders

I have two separate scripts that both serve ads, the variables passed
have different names. I am phasing out the old script that serves ads and want to use the new one. I have a few options on what to do but ideally I would like the current script to run and just redirect the
user to see ads to the new script and collect the needed variables. I
can also move over the new ad code to the server and we can make changes to expect new variables. Let me know

Expert Adviser Programming 228

January 20th, 2010 Comments off

Construct an Expert Adviser for metatrader platform according to detailed instructions. Brief outline is below:
1/conditions for taking the trade -uses common indicators
2/managing the trade
3/normal added features: email alerts, on chart display, time delay between trades, lot sizes including money management, time start & stop, trailing stops etc.
4/ this expert adviser also has a stage 2 development call the ‘random variable selector option’. This is applied to just some of the variables listed in the properties. Instead of selecting just 1 value for these variables, a list of possible variables is entered & then the EA randomly selects from this list for each trade setup sequence.

Only competent MQL4 programmers apply please.

Minor Fixes To Articlems

January 10th, 2010 Comments off

Looking for someone who can do some minor revisions for me to an installation of ArticleMS (an article directory script). Have

We played around with the variables for several hours, and it does not seem to store the data the I type in. Probably a very easy fix for someone who knows what they are doing with Article MS.

a) Add 8 more variables to the author’s profile. Have these variables show up on the My Account input page, and of course on the author’s user profile page.

b) I want an Avatar to show up at the bottom of each article in a section for “About the Author”. (Similar type of problem as above, they simply do not show up even though I can see them in the Author’s profile section).

c) On the main page that shows all of the various categories of articles, we want the system to divide the total categories by three, and then make three equal columns that list the categories of articles.

Please do not bid if you have not used ArticleMS before.

Simple Flash Generator

December 11th, 2009 Comments off

Description:
Need a small simple standalone (I’ll be embedding on an existing site) flash application that will work with an existing SWF file and accept user input of various smile variables (example: “smile”, “six”, “mad”). User will click generate button and variables will be sent to existing swf via URL and return a composite image.

This needs to be presented in a simple but graphically nice user interface.

That’s it.

Functions:
- user gets 1 input box where he will enter smiley variables
- user gets generate button that when clicked generates a composite flash image
- url that generates image needs to be hidden/obfuscated so that no one can see it
- include watermark of site to keep others from hotlinking to application without giving us credit. this should be encrypted if possible to prevent someone from simply decompiling the swf and removing it.

Some information on how this works and what is available to us:

We have been given the URL of the swf that generates the smiles and that is all we have access to. We do not have access to original FLA’s. End users ALREADY know what variables are available to them.

Smiley variables are stackable in that a user can use more than one to keep stacking effects on top of others to generate a more complex composite image.

Examples:

If user entered “smile” in the input box and hit generate, it would send a request to domain.com/example.swf with the variable “smile” like this:
http://www.domain.com/example.swf?url=(smile) which would generate a simple smile.

http://i.imagehost.org/0304/1_39.png

If user entered “smile” and “six” in the input box and hit generate, it would send a request to domain.com/example.swf with the variable “smile” and “six” like this:
http://www.domain.com/example.swf?url=(smile#six) which would generate a simple smile plus a devil character.

http://i.imagehost.org/0106/2_17.png

Note: Each smiley code/variable must be separated by a # – presumably by the user in the input box.

Same idea as above but with “mad” variable in place of the “smile” variable:

http://i.imagehost.org/0004/3_16.png

Note: Each of these examples can be tested here:
http://tinyurl.com/ydxonra

Extra features that I would like to have but do not know if it is possible (please specify if it is and if your quote includes these Remember we do not have access to the FLA’s):
- ability to have image on transparent background (Like this: http://i.imagehost.org/0870/Picture_34.png)
- ability to export as png to desktop

We would need original FLA’s when complete.

That’s it…

This is phase one of this project. Phase two (not to be quoted here) would involve bettering the interface to also allow the user to visibly select from a list of existing variables, hex color codes, and several if then statements.

Graphic design is IMPORTANT to us, so please only bid if you have above average design skills. Please submit examples of related work.

Javascript And Cookie Exp ( 3

November 24th, 2009 Comments off

If you are a javascript programmer of advanced level please contact me.

* If completed (and working in all browsers) by mid-day Tuesday EST I will pay a 100% bonus.

Part (1)
I need a script (script.js) that when run stores the variables passed to it in a cookie (or updates the values if they are already in the cookie), it then runs a script called test.js

Example:

http://www.example.com/script.js?variable1=%{variable1}&variable2=%{variable2}

When the script script.js is run any variables passed to it get stored in a cookie and/or their variables are updated.
I would also like the date stored (unless by default a cookie has a
creation date).
————-
Part (2)
When test.js runs, if there is a cookie and variable1 is greater than 000, it reads the data in the cookie, and passes the variables to 1 or more urls. When each url runs it also has a tracking pixel that runs.

example.com is fired, then pixel.gif runs
example2.com is fired, then pixel2.gif runs

Simple Script In Php

November 22nd, 2009 Comments off

What I need, is a script which will receive all of the variables that are posted to it and then ping those to another URL.

Please note:
1. Variables may be Post or Get
2. The script must be able to determine if the final destination already has variables and either add them with & or with ?

So the procedure will go something like this:

1. http://www.mydomain.com/thisscript.php?a=foo&b=coo
(there will be an undermined number of variable and it may be post or get)
2. All of the variables are then put together to post to another page.
eg. http://www.anotherdomain.com/anotherscript.asp?a=foo&b=coo

3. If the final destination already has variables, then it will add them
eg. http://www.anotherdomain.com/anotherscript.asp?z=loo&a=foo&b=coo

In summary, you are taking in an undetermined number of variables and spitting them out to another url using an if statement to determine if the final url already has variables attached.

Please only bid on this if you have already created the script and can demonstrate it to me.

Categories: PHP Tags: , , , , , ,

Javascript And Cookie Expert

November 16th, 2009 Comments off

If you are a javascript programmer of advanced level please contact me.

* If completed (and working in all browsers) by mid-day Tuesday EST I will pay a 100% bonus.

Part (1)
I need a script (script.js) that when run stores the variables passed to it in a cookie (or updates the values if they are already in the cookie), it then runs a script called test.js

Example:

http://www.example.com/script.js?variable1=%{variable1}&variable2=%{variable2}

When the script script.js is run any variables passed to it get stored in a cookie and/or their variables are updated.
I would also like the date stored (unless by default a cookie has a
creation date).
————-
Part (2)
When test.js runs, if there is a cookie and variable1 is greater than 000, it reads the data in the cookie, and passes the variables to 1 or more urls. When each url runs it also has a tracking pixel that runs.

example.com is fired, then pixel.gif runs
example2.com is fired, then pixel2.gif runs

Batch Automation Program

November 3rd, 2009 Comments off

I am looking to have a program developed that will run a series of commands on another program and collect all of the results.

The program I would like to have the automation script use is called pokerstove [www.pokerstove.com] which is used to calculate the odds of a poker hand winning against several other hands.

I have attached a video of a program that is very similar to what I want, just slightly more basic and is based on a program other than pokerstove. It is an autohotkey script called Hijack Holdem Ranger and it runs on Holdem Ranger. I have also attached those programs [to run them you must have autohotkey installed, and run HHR_v1.03 and HERanger] along with along with a screenshot of pokerstove to help illustrate what I would like to achieve.

In the video you see a script with two input fields. The top field is a list of variables [individual poker hands] while the bottom field is a single row of variables. When I press evaluate, the program cycles through the list of variables in the first field of hold’em ranger called “hands” and in the second field the row of variables is placed in the second field under “hands” in hold’em ranger. After a variable has been placed into the field and the simulation run, the data in the first “equities” column is recorded and the next variable is run until every permutation of variables has been recorded. After all the data has been collected, it is placed in the results field where we can then review it.

What I would like to have made is a program nearly identical to this, except it allows for the input of more variable fields and runs on pokerstove. If you look at pokerstove and compare it to Hold’em Ranger, you will see that there are many more fields to input variables. I would like to be able to utilize all 10 input fields [under "Hand Distribution" in pokerstove, instead of "Hands"] and have the program work through all of them until every permutation has been calculated and stored [the number that is stored is that same as in Hold'em Ranger, it is the first field under "Equity"]. Instead of before displayed in the program after the simulation has been run, however, I would like the results put into a text file.

The only difference other than those mentioned above, is that I would like to be able to take advantage of the two different options available to run the simulations. If you notice in the pokerstove screenshot, below the “Evaluate” button [which is pressed to begin each simulation], there are two options, “Enumerate All,” and “Monte Carlo.” When the enumerate all option is selected, the simulation stops once every possible outcome has been determined. This is not a consistent time. When I select Monte Carlo, I would like the program to stop the evaluation after a preset period of time and collect the data at that point.

I do not have a preference as to what language this is programmed in, as long as it does what I want and does so quickly.

I would like this to be done as soon as possible, so if you cannot start on this immediately, please do not bid.

If you have any questions, please post them to the message board and I will answer them as soon as I can.

Illustrator Cs4 Script

October 16th, 2009 Comments off

I require an Adobe Illustrator script that takes an object, replicates it 8 times, and places the object to 8 specific center point locations on a page.

Then, the script to prompt the user for two variables, place those two variables as text on the page, then save the document using those two variables in the filename.

I will provide the base template page attached.

Form Variables To Js

October 3rd, 2009 Comments off

I am in the process of integrating a partner tracking program and am having two small and simple things to help me with:

On http://www.xvm.de/anmeldung.php, you find a simple form that a user fills when he books a workshop on my pages. This form submits the variables of the form to a form to email script (nms formmail) and then redirects to a OK Page url – http://www.xvm.de/anmeldungok.html.

Now I want to embed a small javascript in the OK Page anmeldungok.html.

<script id=”pap_x2s6df8d” src=”http://www.yoursite.com/affiliate/scripts/salejs.php” type=”text/javascript”>
</script>
<script type=”text/javascript”>
var sale = PostAffTracker.createSale();
sale.setTotalCost(’120.50′);
sale.setOrderID(‘ORD_12345XYZ’);
sale.setProductID(‘test product’);

PostAffTracker.register();
</script>

What i want to achieve is that the variables from the form are transfered to the Partner script on the ok page. Additionally a unique Order ID (AuftragNr – same word as Order ID in German should be generated.

So by example:

sale.setTotalCost(’120.50′); is set to the value of the Variable with the name val1 from the form on anmeldung.php instead of the fixed valut 120,50.

sale.setOrderID(‘ORD_12345XYZ’); is set to the value of the variable named AuftragNr in the for (the unique Value of this variable must be generated by a script to, see below)

sale.setProductID(‘test product’); is set to the value of the variable named Seminar in the Form.

So problem is to get the Contents of the Variables val1, AuftragNr and Seminar from anmeldung.php to anmeldungok.html.

You can’t pass them with the formmail script as there is a strip text command in there.

Idea is to set a cookie with the variables and read this cookie on the ok page

—————–

To generate the AuftragNr (AuftragNr is the same as OrderID in German) – see above) I need a a small javascript (or php) which simply does the following:

Reads the actual OrderId from a text file.
Puts this number in a field / Variable called AuftragNr – see above :-) )

Possibility 1: When the submit button (of the form on anmeldung.php) is clicked – the AuftragNr should be raised by +1 and saved in the file again.
This Auftrag Nr should then be submitted by the form script (hidden field) and passed on to the anmeldungok.html / php page for the OrderID Field

Possibility Nr 2: On the Ok page the OrderID / Auftrag Nr is raised by +1,

Problem is when several people visit the anmeldung.php at the same time the same actual Order ID is read. so a simple locking or check mechanism must be implemented.

No Database if possible!!!!!!! A simple text file should do the trick, if not let me know detailed reasons.

If you have any questions feel free to ask.

Css Templates Variables Add..

September 20th, 2009 Comments off

I will give you about 20 html template files.
All var. will be of the form [t_ ]

See attached file..

You have to add variables – simple examples -

1. Head portion -
——————–
style type=”text/css” media=”all”>atimport “http://[t_baseurl]/images/style.css

here [t_baseurl] is a variable

2. Content -

[t_headercontent]
[t_middlecontent unique]

etc.

3. Keywords to be sprinkled-

[T_lt] , [T_keyword]

I will give you a list of all variables that have to be included in the html template.

I will also give you one original input file and output file to understand it.

Also – the sample output file can be used as a foundation to change all other input files. It’s a simple job!

Adding Variables In Csstempla

September 20th, 2009 Comments off

I will give you about 20 html template files.
All var. will be of the form [t_ ]

You have to add variables – simple examples –

1. Head portion -
——————–
style type=”text/css” media=”all”>import “http://[t_baseurl]/images/style.css

here [t_baseurl] is a variable

2. Content –

[t_headercontent]
[t_middlecontent unique]

etc.

3. Keywords to be sprinkled-

[T_lt] , [T_keyword]

I will give you a list of all variables that have to be included in the html template.

I will also give you one original input file and output file to understand it.

Also – the sample output file can be used as a foundation to change all other input files. It’s a simple job!

Adding Variables In Templates

September 20th, 2009 Comments off

I will give you about 20 html template files.
All var. will be of the form [t_ ]

You have to add variables – simple examples –

1. Head portion -
——————–
style type=”text/css” media=”all”>atimport “http://[t_baseurl]/images/style.css

here [t_baseurl] is a variable

2. Content –

[t_headercontent]
[t_middlecontent unique]

etc.

3. Keywords to be sprinkled-

[T_lt] , [T_keyword]

I will give you a list of all variables that have to be included in the html template.

I will also give you one original input file and output file to understand it.

Also – the sample output file can be used as a foundation to change all other input files. It’s a simple job!

Form Calculate Total-variables

September 19th, 2009 Comments off

What I need or require: Form to calculate a total for virtuemart.

I have attached an example.

After the form shows the amount we will pay for the product, I want to pass this into virtuemart like a regular product sale except we will pay the customer so we do not need to process credit card.

I only need you to write the form/script and pass it to virtuemart to store the information just like any other virtuemart sale.

Timeframe for delivery: 4 Days

Batch Automation Program

August 30th, 2009 Comments off

I am looking for a clone of a simple autohotkey script, Hijack HoldemRanger. The script works with another program called Holdem Ranger, I would like the clone to be similar to the original, except work with PokerStove instead. Below I have included more detailed instructions. Please let me know if you need more clarification. I will make prompt payment and would like this project completed as soon as possible.

Hold’em Ranger is a program used to calculate the odds of a hand of Texas Hold’em Poker. Hijack HoldemRanger is an autohotkey script that is used to automate the process of evaluating the odds of many different hands and compiling all the data together [both programs are included in the "Bulk Hand Range Analyzer" archive]. What it does is allow a user to define the input, in the automation processs one is static and the other changes. What I have labeled “A” is the changing input. The user defines a list of poker hands which are individually copied into the first field of Holdem Ranger. The field labeled “B” is static. That is copied into the second field on Holdem Ranger and stays the same throughout the process. What the program does in the process is start, for example, with AAo in the first field, and “55+,A9s+,KQs,ATo+” in the second. It then will press “Calc Equities.” Once the result has been returned, it then copies only the first field along with the “equity” to its right [converted to a decimal], it does not press “Copy to Clipboard.” When it has finised the list in field A, it compiles all of the data and presents it in a comma delimited list in the results field.

Now, this script works very well at what it does, however, it is fairly limited. Notice how Holdem Ranger has 6 fields in the hands column, however, the script Hijack HoldemRanger is only able to 2 fields of input. This is because Holdem Ranger has a very difficult time handling more variables simply because of how complex the calculations become, and it becomes unresponsive when it attempts to. There is a very similar program to Holdem Ranger, called PokerStove. While this program is still slow at handling the extra variable, it does not become unresponsive during the calculation so it would be a better candidate for what I am doing.

What I would like is for you to create a program similar to Hijack HoldemRanger except that it works with PokerStove and allows me to use more than 2 variables while recording the result in the “Equity” field next to the first field. I would like to have it be able to run on multiple instances of PokerStove simultaneously. Finally, I would like to have a sort of batch feature installed with the program which I will do my best to explain below:
In the first field I will have the list which will be worked through. In the Second field I will have another variable which we will call 1. In the third field I will have three different variables, X, Y, and Z. I would like to be able to go through the list with the second field set to 1 and then the third field set to X and when it has completed the list in the first field, then change the third field to Y and go through the list again, then change the third field to Z and then stop after it has completed the list.

Let me know if you have any questions, Im sure there are a lot of areas that need further clarification.

Simple Ajax Php Project

August 20th, 2009 Comments off

Read carefully this is a project very small project.. can be completed within 2 hrs easily

1. Mysql table contains fields ..dummyid autoincrement , username varchar(255), title varchar(255), projectname varchar(255), message TEXT varchar(255), date1 DATE, time1 TIMESTAMP

2. Need a php script which when passed the above variables will insert a new row in the mysql table.. Variables can be passed either via GET method or POST method

3. a Html page.. should contain an ajax function. whenever this html page is opened..It does nothing.. but on the hour every hour…It opens an nice looking AJAX popup containing a small popup html form page.. which contains a form for inputting all the above variables ..make username, projectname as pulldown.. make all other TEXT fields or TEXTArea as required with a submit button

4. Once the user enters all data and clicks on submit button the form just blindly inserts a line in the mysql table..

5. As long as the main html page remains open it must constantly produce this popup once every hour on the hour….Suppose a popup is already open and the user has not entered any data and keeping it open for more than 1 hr.. when the time comes to the next hr.. a new pop up form should open…even though the old form is still open

Very simple project indeed.. I can pay just US$15 to US$20 for this …

I need a person super skilled in php mysql and ajax

I need only ajax window popups and not simple javascript window popups

Simple Ajax Mysql Php Project

August 19th, 2009 Comments off

Read carefully this is a project very small project.. can be completed within 2 hrs easily

1. Mysql table contains fields ..dummyid autoincrement , username varchar(255), title varchar(255), projectname varchar(255), message TEXT varchar(255), date1 DATE, time1 TIMESTAMP

2. Need a php script which when passed the above variables will insert a new row in the mysql table.. Variables can be passed either via GET method or POST method

3. a Html page.. should contain an ajax function. whenever this html page is opened..It does nothing.. but on the hour every hour…It opens an nice looking AJAX popup containing a small popup html form page.. which contains a form for inputting all the above variables ..make username, projectname as pulldown.. make all other TEXT fields or TEXTArea as required with a submit button

4. Once the user enters all data and clicks on submit button the form just blindly inserts a line in the mysql table..

5. As long as the main html page remains open it must constantly produce this popup once every hour on the hour….Suppose a popup is already open and the user has not entered any data and keeping it open for more than 1 hr.. when the time comes to the next hr.. a new pop up form should open…even though the old form is still open

Very simple project indeed.. I can pay just US$15 for this …

I need a person super skilled in php mysql and ajax

Php Submit Variables

August 18th, 2009 Comments off

Attached is a ZIP file with insurance.html and insurance_submit.php

On submit values on insurance.html should be submitted an email address using php code to be added to insurance_submit.php

Their should be a error statment if insurance_submit.php is executed without an email value being present on insurance_submit.php.

This script must work on GoDaddy servers and must be easily customizable & clearly commented since we will need to add / remove values for future customization and use.

Statistical Analyses

August 17th, 2009 Comments off

Looking for:

Someone experienced in running statistical analyses.
You need to be able to standardize data.
You need to be able to run regression analyses.
You need to be able to test hypotheses using panel data regression models.
You need to be able to run analyses using, preferably, SPSS or STATA.

First job:
I need to aggregate some variables by first standardizing each dimension and then averaging them.

For example,
Variable 1 can range from 1-10,000.
Variable 2 can rage from 0 to 1.
Variable 3 can range from 1-5,000.
These 3 variables need to be aggregated and combined into one “score”.

You can aggregate them by first standardizing each dimension and then averaging them (making the assumption that the three dimensions are equally important).

Please indicate if you can handle this.

Second job:

Data needs to be analysed using SPSS or STATA.
You need to run a regression analysis which measures correlation between two variables while accounting for the moderating effect of another variable.
In other words, you need to test hypotheses using panel data regression models.
The significance level for each test will be 10%.

Please indicate if you can handle this.

In your reply, please cover previous experience, and if you are able to handle both tasks, or only one of them.

Total budget includes taking on both jobs, and running the second job for different variables.

YourA

Easy Infusionsoft Api Script

July 20th, 2009 Comments off

This should be a very simple job for someone that has worked with the InfusionSoft application before:

I have a tracking pixel that will be installed on a “Thank You” page after a sale is made from an InfusionSoft order form. This “thank you” page is actually another order form (from within the InfusionSoft application).

I need two variables from within the InfusionSoft application to populate this tracking pixel (Order.ID & Invoice.TotalPaid). These two variables will be retrieved from the previous order page. If you have worked with InfusionSoft before, I think you have to use the OrderID from the InfusionSoft database in order to grab those variables (possibly by using AJAX to call a PHP script that hooks into the InfusionSoft API and uses the OrderID from the query string in order to grab the needed variables).

Here is the tracking pixel:

<script src=”http://affiliates.offeratti.com/i_sale_third/39/LINE_ITEM_STRING/TRANSACTION_ID/OPTIONAL_INFORMATION”></script> <noscript><IMG SRC=”http://affiliates.offeratti.com/i_track_sale/39/LINE_ITEM_STRING/TRANSACTION_ID/OPTIONAL_INFORMATION”></noscript>

LINE_ITEM_STRING = Invoice.TotalPaid (InfusionSoft variable needed)
TRANSACTION_ID = Order.ID (InfusionSoft variable needed)

Simple Infusionsoft Api Script

July 19th, 2009 Comments off

This should be a very simple job for someone that has worked with the InfusionSoft application before:

I have a tracking pixel that will be installed on a “Thank You” page after a sale is made from an InfusionSoft order form. This “thank you” page is actually another order form (from within the InfusionSoft application).

I need two variables from within the InfusionSoft application to populate this tracking pixel (Order.ID & Invoice.TotalPaid). These two variables will be retrieved from the previous order page. If you have worked with InfusionSoft before, I think you have to use the OrderID from the InfusionSoft database in order to grab those variables (possibly by using AJAX to call a PHP script that hooks into the InfusionSoft API and uses the OrderID from the query string in order to grab the needed variables).

Here is the tracking pixel:

<script src=”http://affiliates.offeratti.com/i_sale_third/39/LINE_ITEM_STRING/TRANSACTION_ID/OPTIONAL_INFORMATION”></script> <noscript><IMG SRC=”http://affiliates.offeratti.com/i_track_sale/39/LINE_ITEM_STRING/TRANSACTION_ID/OPTIONAL_INFORMATION”></noscript>

LINE_ITEM_STRING = Invoice.TotalPaid (InfusionSoft variable needed)
TRANSACTION_ID = Order.ID (InfusionSoft variable needed)

Screen Scraper For Dating Site

June 23rd, 2009 Comments off

Application to interface with match.com and automate wink clicks and email sending.
Summary:
To create an application that will automate the wink and email functions from match.com. The application will function by capturing the user id’s of web searches, and storing the data in a database. Then each user will be emailed a custom message based on variables captured from the profiles.
For instance if a profile is found with the variable eyes=blue then the sentence

List Of Market Segments

June 16th, 2009 Comments off

Need someone from marketing side to create a list of most possible “values” (i.e. categories) for each “variable” used market segmentation for both consumer markets and for business/industrial markets. For example, consumer segmentation can be based on “Geographic Segmentation” – the “variables” used in this segment can be Region, Country, Population Size of an Area, Population Density, Climate, Physical Geography etc. Then for each “variable”, there may be a list of commonly used “values” – e.g. for the variable “Population Size of an Area”, most common values/categories may be “below 1000″, “1001 to 100k”, “100k to 1 million”, “1 to 5 million”, “above 5 million” or for a variable “Countries” it would be a list of all countries. Another example would be for “demographic segmentation”, “occupation” would be one variable and the values would be a list of occupations.

Final format I need is a list consisting of different ways to segment (e.g. “Geographic”, “Demographic”, “Psycographic”, “Behavioralistic” etc for consumer and other types for the industrial markets) – for each of these types, please list commonly used variables and commonly used values of each of those variables.

I would prefer an excel/openoffice spreadsheet, but a plain text file is ok. You can have one segment on one worksheet or choose whatever structure you feel would be right.

Time frame: 5 days

Vbulletin + Google Maps Mod

June 11th, 2009 Comments off

I need somebody experienced with vBulletin and Google Maps API to write a custom mod compatible with vBulletin 3.8.x that will:

1) add custom fields to the new/edit thread posting form.
2) take input (a Google Maps url) from one of these custom fields and grab (grep? regex?) certain elements (coordinates) to be made available as variables which are saved to the vBulletin database and displayed in the first post of a new thread
3) use the same variables to get geocode information from Google and save fields from the Google Maps API JSON results (or XML results if you prefer) to the database and made available to be displayed in the first post. I think a separate db table for the data from item #1 and the returned JSON fields are ideal but am open to alternate suggestions.

Requirements
- Some fields will be required and some will not. Failing to submit appropriate data in a required field returns error indicating the problem.
- input of Google Maps url in one custom field is verified to be a Google url (including various international domains)
- All data submitted through custom fields are run through vBulletin’s form/input cleaning as well as protections from SQl injections, CSRF, other common attacks and clean out any submitted HTML
- Edit of thread posts containing url and other information from the custom fields will automatically display what is currently saved to the database and allow for edit/replacement according to vbulletin permissions regarding editing privileges. Change to Google Maps url in custom field will initiate reprocessing of grep/regex and related variables/data replaced in database (it would be a nice extra to have it prompt before replacing this data)
-Not all forums/new threads will use the custom fields. Make sure there are no errors if no data is submitted in the custom fields (these fields will likely not be shown in certain areas of the site).
-I have no problem with using an existing vBulletin hack such as http://www.vbulletin.org/forum/showthread.php?t=128587 as long as it is fixed to work with v3.8. I am also open to other vB hacks you may know that may make coding easier.

At the end of the project I expect the mod and all the changes with documentation (full install instructions) to be zipped and sent to me.

- – - – - – - – - – - – - – - – - – - – - – - – - – - – - – - – -
Sample of how this might work
User goes to do=newthread where custom field submission of this Google Map URL is entered:
http://maps.google.com/maps?f=q&amp;amp;source=s_q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q&amp;amp;ie=UTF8&amp;amp;layer=c&amp;amp;cbll=30.272735,-97.741076&amp;amp;panoid=CGDtk5FW3PDHGPuW_Vnh9g&amp;amp;cbp=12,13.06,,0,-2.17&amp;amp;ll=30.272587,-97.741123&amp;amp;spn=0.005597,0.00751&amp;amp;z=17&amp;amp;iwloc=A

The code verifies a clean Google Maps url was submitted and will grab this information from the submitted url:
&amp;amp;cbp=12,13.06,,0,-2.17
&amp;amp;ll=30.272587,-97.741123

This information will then, for example, be able to be inserted into the following HTML and displayed on the first post of the new thread
&amp;lt;iframe width=”425″ height=”240″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.com/maps/sv?cbp=***cbp goes here***&amp;amp;amp;cbll=***ll goes here***&amp;amp;amp;panoid=&amp;amp;amp;v=1&amp;amp;amp;hl=en&amp;amp;amp;gl=us”&amp;gt;&amp;lt;/iframe&amp;gt;

The &amp;amp;ll coordinates will also be submitted through the Google Map API for reverse geocoding (http://code.google.com/apis/maps/documentation/geocoding/#ReverseGeocoding) to receive and store the following JSON results in the database: id, address. CountryNameCode. CountryName. AdministrativeAreaName. LocalityName. ThoroughfareName. PostalCodeNumber and Accuracy.

If somebody goes to edit the post the custom fields and default thread fields will be visible and contain the information from the database. Changes to the post will result in the Google Map API information to be updated and saved back to the database.

Links that or may not be useful
Add custom fields to new threads
http://www.vbulletin.org/forum/showthread.php?t=114249
Validate fields or extract information using regular expressions
http://www.vbulletin.org/forum/showthread.php?t=215466
vBulletin Custom DataManagers (might be useful)
http://www.vbulletin.org/forum/showthread.php?t=119376
vBulletin Docs
http://www.vbulletin.com/docs/html/
vBulletin API Basics
http://www.vbulletin.org/forum/showthread.php?t=98009
Implementing CSRF Protection in modifications
http://www.vbulletin.org/forum/showthread.php?t=177013
Google Maps API
http://code.google.com/apis/maps/doc…ion/index.html
Google API – Geocoding

http://code.google.com/apis/maps/doc…ion/geocoding/

Software Development

June 8th, 2009 Comments off

I need a software application to be developed. The end product will be integrated with a hardware device. After you read the project specs, I want to know what programming language you will use and why.
Basically, this software will be integrated with a hardware device that is SIMILAR in size to a GPS navigator (5 inch by 5 inch touch screen display) and it will have a touch screen capability similar to a mouse navigation that is controlled by the touch of a finger.
This hardware will be connected to the internet by USB directly to client computer or internet cable or wireless . Basically, we want it so that the hardware becomes a plug and play device; they plug it in, we control each device for each client, or all device’s for each client from our admin panel.
If any hardware device becomes faulty/bug, we want to be alerted in our admin area of the client, device location and type of problem.
1. this software will have:
a. a CMS system built into the admin area.
b. This CMS will allow us to upload certain variables for each client. These variables will appear on the hardware screen for customers to select by touch. For example, Hotel variables are different from banks. –Hotels: rooms, restaurant, bar, fitness center.
-Banks, personnel, service, products etc.
We will be able to create multiple industries and variables for those industries so when i upload a business client, i will also add the variable they want to show for thier business. If that variable doesn’t exist, I can edit that industry, add it , and save it from the admin area.
In addition to the variable mentioned above. This is an example of a industry may look:
1. Industry: hotels, restaurants, beauty salons, construction etc. (If I need to add, edit or delete a new type of industry, I can from the admin area.
2. Lets say I chose hotel, now I enter the address. Country, street, city, region, zip of that hotel.
3. Variables; single rooms, double rooms, restaurant, fitness center etc. (if I need to add, edit or delete a new type of variable for that hotel, I can.
4. Enter hardware device number (tracking number) and location of each device.
5. I am able to upload advertising messages to my clients devices. One at a time or all of them at once from the admin area.

c. The hardware will be connected to client computers by USB, or if they don’t have a computer, we connect by internet cable, or wireless and control the device from our computer. Once it’s connected, a client software will be automatically downloaded or installed onto the client computer and all hardware devices will be controlled from our admin area to their computer to the hardware devices. (One client could have one hardware device or 100 hardware devices.
d. THis application will allow us to provide our clients with daily, weekly, or monthly reporting. Sent automatically by email. The report will also include which device the report is originated. (We will upload that email address along with the variables of that business etc. from our admin area on our initial set up of that client in our admin area.)
Based on the end users input from the hardware, this software will gather each of those interactions based on certain categories. These categories are aligned to the variables that we upload for each client. (I will provide more details to the developers.)
e. we can control all the devices from our admin area online. We can upload advertising into devices for one client, for a group of clients or all clients.
f. we will be able to search for a client by name, city, region, country, or zip code.
Let me give you a scenario:
lets say you go into a restaurant, there is a hardware with about a 5 square inch touch screen device there. you use this hardware to order your food. So the variables could be starters, main courses, desserts, drinks etc. so when this customer enters this data from our touch screen hardware, our back end will gather this customers data, save it, the time, date, etc. and will be sent to a our client so he will know what this customer ordered. This is just a scenario. In this restaurants case, the variables were , starters, main courses, desserts, drinks etc. If it were a hotel, the variables could be, single room, double room, suite, spa room etc.
but we could get a restaurant client that wants to have another variable added ie. Candy,or soda or alcohol; we could go to our admin area, select restaurant from category industry, and make the additions, changes or edit, then save it.
We are looking for developers who have developed software that integrated with hardware before. Please explain what some of your past projects were and how that applies here.
Good luck.

Php Landing Page Variables

May 26th, 2009 Comments off

I need to have help to do what is neccessary for a current website that will create different landing page variables relevant to individual keywords, like what is available through speed ppc. Want to be able to have url,title, description, headings, content, etc.. be relevant to the keyword.

here is the current site… purposecashadvance.com

Flash + Php Fixes – 2-3 Hours

April 15th, 2009 Comments off

Visit http://cli.gs/saR1W8

Try this test account – login m#ambad#t at g#mai#l.c#om and password m#ambad#t (remove #)

Do not email this address, it is not valid, it’s only a test account. Do not contact me via the email also, all communications via PM only.

Pls quote how long you need and cost.

ftp and phpmyadmin will be provided.

Things to fix:

1. Date of Birth – When click EDIT profile, change date via dropdown selector, when go back to profile page, shows UNDEFINED.

2. For Favourite Music and Tracks I’m listening to, we edited the php script to work working already but need the flash to integrate the script to pull / push variables’ data to database in the profile display page and the edit profile page.

Each field when answered, goes into 1 column in the table.

e.g.

Favourite Music:
1.
2.
3.
4.
5.

so user enters

1. bowling
2. swimming
3. running
4. singing
5. smoking

it will be parsed as

bowling,swimming,running,singing,smoking

3. table for members profile is hgr_membersarea, script used are update_detail.php and adm_memberprofile.php

send the variables to the update_details.php like the ff. example:

for favorite music:
music=favorite_music1,favorite_music2,favorite_music3

for tracks listened:
tracks=tracks1,track2,track3,track4

the php files should now return the new values from database using this variables..

track and music

it can be parsed in flash the values are comma separated..

C Lemonade Stand

April 5th, 2009 Comments off

Here is what needs to be done. I have the skeleton code too which i have included right after the instructions. This program must compile in Dev C++ and it needs to be in the format in the instructions.

Objectives
1. Review use of if statements and loops.
2. Learn how to write functions given specifications.
3. Learn how to use pass by reference variables.
4. Learn how to put together a useful program given a skeleton of that program and the
functions and their specifications necessary in the implementation.

Problem: Lemonade Stand
Last summer your friend has a lemonade stand and made lots of money. You want to do the same! You have plenty of time to plan, so you thought you would be pre
pared when summer came around by writing a program to simulate your lemonade stand. The basic idea behind the simulation is as follows:

1) You will simulate 10 days of running the lemonade stand.
2) In the beginning the user gets a $20.00 loan to run the lemonade stand.
3) Before each day, the user gets an opportunity to buy bags of lemons and sugar.
4) At the beginning of each day the user receive a weather report.
5) Based on that, the user is asked to price a cup of lemonade for that day.
6) Then, the days sales are simulated. (Part of this is written for you.)
7) Afterwards, the user is prompted with a status report of how much money they have left and how many bags of lemons and sugar they have left.

What you have to do
A skeleton of the solution for this assignment is posted on WebCourses and the course web page. Please use this skeleton. You must fill in the seven functions that are left for you to fill in, as well as write the remainder of main so the program works as described above. After you write each function, you should test it before moving on. How to do this will be covered in class. Then, write your main, calling the necessary functions from it to achieve the desired functionality. main can work without declaring any new variables than the ones already declared. But, you may declare new ones if you wish.

Perhaps the biggest problem you will have will be not knowing when to make function calls. The goal of having these functions is to make the coding process more manageable. In particular, it is possible that a function might “do” something complicated, but that just really means that function makes calls to other functions that carry out a majority of that work already. In essence, if you write a function A to do a task, then don’t write out the code that also does that task in another function B. Instead call the function A from the body of function B.

References
Textbook: Chapters 9, 10, 11 Notes: Lectures 13, 14, 15, 17

Output Sample
Two full output samples of the program running will be provided on Webcourses and the course web page in the files lemonade.out and lemonade2.out.

Deliverables
You must submit your solution to the problem, lemonade.c, over WebCourses.

Restrictions
Although you may use other compilers, your program must compile and run using DevC++. Please use DevC++ to develop your program. Your program should include a header comment with the following information: your name, course number, section number, assignment title, and date. Also, make sure you include ample comments throughout your code describing the major steps in solving the problem.

Grading Details
Your program will be graded upon the following criteria:

1) Your correctness
2) Your programming style and use of white space. (Even if you have a plan and your program works perfectly, if your programming style is poor or your use of white space is poor you could get 10% or 15% deducted from your grade.)
3) Compatibility to DevC++. (If your program does not compile in this environment, you will get a sizable deduction from your grade, likely to be over 50%)

The code Skeleton:

#include &amp;amp;lt;stdio.h&amp;amp;gt;
#include &amp;amp;lt;stdlib.h&amp;amp;gt;
#include &amp;amp;lt;time.h&amp;amp;gt;

// Symbolic constants to be used.

// Prices of bags of sugar and lemon, respectively.
#define PRICE_LEMON 3.50
#define PRICE_SUGAR 2.00

// Fraction of a bag of lemons and sugar used on a single cup of lemonade.
#define LEMON_PER_CUP 0.03
#define SUGAR_PER_CUP 0.04

// The initial loan the user is given to start their lemonade stand.
#define START_MONEY 20.00

// Using symbolic constants for true and false.
#define FALSE 0
#define TRUE 1

void buy_lemons(double *pLemons, double *pMoney);
void buy_sugar(double *pSugar, double *pMoney);
int weather();
int num_cups_sold(int weather, int cost);
void status_report(double cash, double num_lemons, double num_sugar, int day);
int max_sell(double num_lemons, double num_sugar);
int get_cost();
void sell_cups(double *pMoney, double *pLemons, double *pSugar);
void end_message(double money);

int main() {

int num_day, ans;
double money = START_MONEY, num_lemons = 0, num_sugar = 0;

srand(time(0));

printf(“Welcome to the Game of Lemonade!nn”);
printf(“You start the game with $%.2lf and no supplies!n”, START_MONEY);

// Loop through each day. Ask the user if they want to buy lemons. If so,
// carry out the transaction. Then ask them if they want to buy sugar.
// If so, do this transaction as well. Then, let them sell lemonade for
// the day. Finally, print a status report after they’ve sold lemonade
// at the end of the day.
for (num_day = 1; num_day &amp;amp;lt;= 10; num_day++) {

}

// Print out whether or not they have lost money, broke even or gained
// money.

return 0;
}

// Pre-conditions: pLemons and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy lemons. If
// successful, the number of bags of lemons and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of lemons, tell them so and return. Otherwise, ask
// the user how many bags of lemons they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.

void buy_lemons(double *pLemons, double *pMoney) {

}

// Pre-conditions: pSugar and pMoney are pointers to variables that store
// the user’s number of bags of lemons left and amount of
// money left.
// Post-condition: The user is given the opportunity to buy sugar. If
// successful, the number of bags of sugar and the amount
// of money the user has are adjusted accordingly.
//
// What to do in this function: If the user doesn’t have enough money to
// even buy one bag of sugar, tell them so and return. Otherwise, ask
// the user how many bags of sugar they want to buy. If they answer less
// than one, tell them they must get more and reprompt them. If they
// answer more than they can buy, tell them they don’t have that much
// money and reprompt them. Continue prompting them until they answer with
// a valid value. Then process the transaction.

void buy_sugar(double *pSugar, double *pMoney) {

}

// Pre-condition: None
// Post-condition: The weather report for the day is printed and the
// corresponding weather status in between 1 and 5,
// inclusive, is returned.
int weather() {

// Get the weather status value.
int retval = rand()%5 + 1;

printf(“nHere is today’s weather forecast:n”);

// Print out the appropriate forecast for that status.n”);
if (retval == 1)
printf(“It is cloudy with a high chance of rain.n”);
else if (retval == 2)
printf(“It is partly cloudy and windy.n”);
else if (retval == 3)
printf(“It is partly sunny with low humidity.n”);
else if (retval == 4)
printf(“It is warm and sunny with medium winds.n”);
else
printf(“It’s a perfect beach day. Sunny and hot!n”);

return retval; // Return this status value.
}

// Pre-condition: weather is an integer in between 1 and 5, inclusive,
// standing for the weather status for the day. cost is
// the cost of a cup of lemonade in cents for that day.
// Post-condition: The number of cups of lemonade for that day is returned.
int num_cups_sold(int weather, int cost) {

int optimal_price, max_cups;
double max_income;

// Calculate a maximum revenue for the day.
max_income = 5 + 3*weather;
optimal_price = 15 + 5*weather;
max_income = max_income – fabs(optimal_price – cost)/1.5;

// If it’s lower than 5 dollars, reset it to 5 dollars.
if (max_income &amp;amp;lt; 5)
max_income = 5;

// From this, determine the maximum number of cups that could be sold.
max_cups = (int)(max_income/((double)cost/100));

// Return a random number from 0 to this maximum.
return rand()%(max_cups+1);

}

// Pre-condition: cash is the amount of cash the user has, num_lemons is
// the number of bags of lemons the user has left, num_sugar
// is the number of bags of sugar the user has left, and day
// is which day of the game just finished.
// Post-condition: A status report with the four values passed in is nicely
// displayed for the user.
//
// What to do with this function: This is fairly self-explanatory from the
// pre and post conditions. Look to the sample given in the assignment for
// the format.
void status_report(double cash, double num_lemons, double num_sugar, int day) {

}

// Pre-condition: pMoney, pLemons and pSugar are pointers to the variables
// storing the user’s amount of cash, number of bags of
// lemons and number of bags of sugar.
// Post-condition: A day’s transactions will take place and the amount of
// money, the number of bags of lemons and sugar will be
// adjusted accordingly.
//
// What to do with this function: First prompt the user with the weather
// report. Then, ask the user for how much they want to sell a cup of
// lemonade. Determine the number of cups that actually get sold for the
// day by determining how many cups the user COULD sell based on the
// availability of supplies and how many cups they COULD sell based on the
// weather. Print out how many cups of lemonade they ended up selling.
// Then adjust the amount of money they have, as well as the number of bags
// of lemons and sugar.

void sell_cups(double *pMoney, double *pLemons, double *pSugar) {

}

// Pre-condition: num_lemons is the number of bags of lemons the user has,
// and num_sugar is the number of bags of sugar they have.
// Post-condition: The function returns the maximum number of cups of
// lemonade the user can sell based on available supplies.
//
// What to do with this function: Calculate how many full cups of lemonade
// you can supply with sugar. Do the same calculation for lemons. Then,
// return the smaller of these two values.

int max_sell(double num_lemons, double num_sugar) {

}

// Pre-condition: None.
// Post-condition: Returns the number of cents the user will sell a cup of
// lemonade for, for that day.
//
// What to do with this function: Prompt the user to enter how much they
// want to charge for a cup of lemonade. If they don’t enter a positive
// integer, reprompt them until they do. Then return this value.

int get_cost() {

}

// Pre-condition: money is the amount of money the user has left at the end
// of the 10 days of running their Lemonade Stand.
// Post-condition: The user’s overall loss or profit is printed out.

// What to do with this function: See if what they have left is less than
// what they started with. If so, print out how much the lost. If it’s equal
// just print out a message saying that they broke even. Otherwise, print
// out how much profit they made!

void end_message(double money) {

}

Categories: C/C++ Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Bear