Archive

Posts Tagged ‘values’

Magento Project

February 8th, 2012 Comments off

Magento project: Fetch the values from the database (values would be provided in the form of csv), and modify the checkout price according to those values (values hard-coded into the database)

Thanks

Htaccess Rewrite With Field Values

February 4th, 2012 Comments off

Looking to take an ordinary url like yyy.html?id=444 and make it more SEO friendly taking the values in the name field and putting it into the url so it would be something like name-field-value.html. Should be pretty simple…will give ftp access to site and show you the page.

Vb.net Excel Chart

January 4th, 2012 Comments off

I’ve created an add-in for Excel with VSTO2010, now I have a small problem.
The add-in creates three buttons, the first creates a worksheet and inserts the Excel data, the second creates another worksheet and charts, the third refreshes the max/min axis values of a chart.
I have problems with the third button, not working, I can not refreshes max/min values.
The add-in is an example, I want to do what you can see in the spreadsheet 807233.xls, so I need to update the values ??of…

Yahoo Finance Stock Watch Php Script

January 3rd, 2012 Comments off

I need a stock watch list displayed on my website.

I need to be able to customize which stocks and values are displayed like – Stock Symbol, Description, Price, Last Change, 52week high and so on.

IMPOTANT it needs to be parsed to a table that looks professional. Alternating light grey and white rows. Red for decreasing values, green for increasing values.

The ticker symbol or stock description in each row must be a hyperlink that opens a seperate tab to the stocks coresponding yahoo …

Load Excel File Data Into Database And Update Values

December 27th, 2011 Comments off

I have an Excel files (xls/xlsx) containing data with multiple rows and columns. I need to load this data into a database, where each column of the Excel file is a column in the database table.
If a newer file arrives, I need to load it and update the existing information or add the new registry.
I need to be able to keep track of the updated records. Like having a history, showing date, time and the previous values.
I need a password protected page to administer the information. I need to be…

Copy 72 Values From Website

November 29th, 2011 Comments off

On the following page on the bottom just move the shifter and fill in the value

Custom Prestashop Development – Multiple Values Per Product

November 19th, 2011 Comments off

Hi there,

I am building a prestashop site but need to make an adjustment

The products will have multiple values for a feature, for example, feature could be ‘material’, and I would need an option to select 2 or more materials (say ‘wool’ and ‘cotton’) in the back end.

So the datasheet for the product would look something like this:
‘Material: Wool, Cotton’

This would then work with the filter (advanced search 4) – if a product is made from wool and cotton, if user selects cotton OR …

Custom Browser Plugin /autofill Form Add-on Developement

November 18th, 2011 Comments off

We need a web developer who can create some custom browser plugins/add-on for us that will integrate with our web server, so our team can use the browser plug-in to insert data in multiple sites at one time.

We are facing few problems with the exiting auto-fill form add-on:

Php Get 5 Values From Php Variable And Apply To Html

November 16th, 2011 Comments off

In a php page that have a calculate simulator for gold sales

—————————————————————–
24K 22K 18K 14K 12K 9k
value for K/

Number Arranger

November 2nd, 2011 Comments off

Create a program in which a user is asked for how many values (s)he wants to enter (maximum 50), then:

Asks for the values and stores them into an array of double.
Sorts the values in ascending order according to the following algorithm, where size is the number of doubles to be sorted:
for i=0..size-2
check all the values between position i and size-1 to find the smallest one
swap the smallest value and the one in position i
Prints the sorted array to the console.

Statistician

October 19th, 2011 Comments off

The project should be done with free statistical software known as “R” and the MySQL database. For this task, the statistician does not need to know PHP. The focus is on optimizing the variable settings using R and MySQL.

Project:
Integrating Open Source Optimization Software in Back Testing

Overview:
We need help implementing open source optimization software (http://www.r-project.org/) to
bridge the gap between Stochastic Integer Programming and mixed integer programming problems.
R needs to be set up to ‘guess’ until it finds the optimal values for about 15 variables. In
the past, a similar problem was solved using a brute force methdology, however there are now
too many variable values for brute force to be feasible. Also, commercial software (SAS) was
used to do the statistical analysis, however, it’s difficult to find freelance statisticians
that have access to SAS (or other commercial software systems) and that forces us to rely on
open source software. Fortunately, there seem to be enough modules in R to handle the tasks.

Environment:
The operating system will be Debian 6.0 with php 5.3.3-7, and MySQL 5.1.49-3. If it’s needed,
the system can be run on a cloud server (for processing power). The algorythm is written in
php. The data is stored in MySQL, and R seems have modules to handle test logistics and the
statistical analysis.
Here are the R software modules we’ll probably use:
R + MySQL: http://cran.r-project.org/web/packages/RMySQL/RMySQL.pdf
R Quantitative Financial Modelling & Trading Framework: quantmod http://www.quantmod.com/
R + PHP: r-php http://www.jstatsoft.org/v17/i04/paper (Call php from R to run the algorythm)
R MIP Solvers: GLPK, CLP, SYMPHONY, LP_SOLVE
R Testing Pairs of Symbols for Cointegration: http://quanttrader.info/public/testForCoint.html
R + SOMA / STOPROG Stochastic optimization algorithm is similar to that of genetic algorithms

Background:
In the past, we used a brute force methodology to run over 1.2 million tests. A statistician
used SAS to analyze the test results and find the optimal values for about a dozen variables.
The analysis can be found here: http://calllendar.com/pub/analysis/ Please read through it to
get a description of the methodology used. Also note the methodologies that didn’t work. The
optimal values provided were set and new (randomized) tests were run to verify that the values
chosen were able to perform as expected. The test results showed that the optimal values work.
Since that time, we have updated the software by adding features and variable value settings.
Now, we want to use R to find the values while running the tests and have a reusable analysis
infrastruture.

R Code the Problem:
After designing the system, you will need to encode the problem in R. The R code will set the
variable names and the ranges and/or bounds of each variable. The code will also specify what
which variables should be maximumize or minimumized. The goal of the optimization is to find
a set of optimal values to get a predictably high “rank”. Rank is a “goodness value” that is
used to compare one test result to another. Since the underlying input data (stock prices) is
random, rank will not be deterministic. Sometimes the optimal values will return a low value
(which may even be a negative number) and sometimes they will return a high value.

Here are the various variables and our goal for each:

Rank:
Rank is the “goodness value”. It is calculated by subtracting the setprofit from the godprofit
results. R will need to determine what variable settings result in the best average rank (as well
as the probability).
setprofit:
setprofit is calculated by buying all of the symbols and selling them after the test duration.
If possible, R should try to maximize the setprofit (by selecting the best symbols to work with).
godprofit:
godprofit is calculated by running an algorithm over the test duration and calculating the profit.
If possible, select symbols to maxmimize godprofit so that in turn, the average rank will be high.

Parent Test Loop:
The software algorithm is set up to process tests in batches. This way there can be an “apples to
apples” comparison on the test results. Therefore, when R selects a test to run to get a specific
test result, it will actually get at least a dozen test results. The batch processing is also much
more efficient as it requires far less writing and transferring data.
startdate:
A date chosen at random from the range of dates in the database.
startquote:
A integer with a decimal (ex: 1.01) It is the lowest price a symbol can have on the random date.
set:
R will select a set of symbols to be tested using based on their negative correlation strength.

Child Test Loop:
Once the above values are selected, it’s we should set up quantmod (or another script) to loop
through and process the following variables as a related batch:

frequency:
An integer that governs how frequently the algorithm processes the dates in the test duration.
density:
An integer ( 1 – 4 ) chosen to omit specific symbols before running the tests.
level:
An integer ( 1 – 10 )
positions:
An integer ( 1 – 10 ) The algorithm can process all 10 positions at one time, however, this
variable is dependent on the quantity and level values being equal or higher.
quantity:
An integer ( 2 – 50 ) which is the number of symbols selected for the tests. Minimize this
value so that there are less symbols that need to be logistically handled on a daily basis.
duration:
An integer ( 1 – 730 ) which is the number of days (date range) of the tests. Minimize this
value so that the godprofit and rank are high in the shortest timeframe possible.
hold:
A value ( yes / no ) or ( 1 / 0 )
diversify:
A value ( yes / no ) or ( 1 / 0 ) Setting diversify to “yes” should be less risky than “no”.
startcash:
An integer ( 100 – 100,000 ) which is the amount of cash used for all of the positions in the test.
Minimize this value (since it should be less risky to divide the capital over multiple positions.
cost:
An integer ( 0 – 25 ) which is the amount of money paid to the broker for each transaction. The
cost is actually set by the broker. Maximize this value to find out how much cost reduces rank.
sharebuffer:
An integer ( 1 – 5000 ) Maximize this value to reduce slippage and the logistics of trading.
profitlimitpercent:
An integer ( 0 – 10000 ) Minimize this value to tell the system to “quit while it’s rank is high”.
stoplosspercentage:
An integer ( 1 – 100 ) The value represents the amount of cash left over after a loss in a position.
Maximize this value to reduce the ‘drawdown’ for each individual position.
buystop_percentage:
An integer ( 1 – 10000 ) Minimize this value to tell the algo to “quit if there’s an unusually
high performance for a symbol price while the algo is holding a position in it.
sellstoppercentage:
An integer ( 0 – 100 ) Maximize this value to reduce the drawdown while the aglo holds a position.
trailingpercentage:
An integer ( 0 – 100 ) Maximize this value to reduce the drawdown after a position price increase.
pricebufferpercent:
An integer ( 0 – 100 ) Maximize this value to discover how high the pricebufferpercent is before
it reduces rank. That setting will be used to control the amount of slippage the algo will allow.

// Extra values:
drift:
An integer ( -100 – 10000 ) with a decimal. This value can be positive or negative. It is
the change in price after the algo’s last transaction. Reducing the duration should reduce drift
and return less random results.
number of transactions:
An integer ( 0 – 730 ) Reduce this value so that there are less logistic problems.
correlationdays:
An integer ( 0 – 90 ). This is the number of days R + testForCoint will test for a correlation
between the symbols in the set. Minimize the number of correlationdays to increase the number of
symbols that can be selected. Correlations between symbols probably breaks down over time.
correlationpercent:
An integer ( -100 – 100 ). Minimize this variable to find the strongest negative correlation for
the symbols in the set. This percentage value should be the ‘minimum strength’ of the correlation.

Testing Process:
Decide what test to run:
There will be a small R script that defines the scope of variable values. R will look at the scope
of the test and decide what set of variable values to test. R will need to analyze the database to
figure out what settings to test next. R will call an MIP solver to optimize a ranking value.

Record the test variable values:
R will record the variable values in a MySQL database. The values will be stored in a settings table
called ‘dayoptions’ and in a test table (so that each rank result can be associated with the values).
The settings in the dayoptions table will be used by the algo during the test.

Select symbols for the Set:
R will select the symbols to be traded. Have R take the random startdate and select symbols. Next,
it will back ‘correlationdays’ in time & select the symbols that have a strong negative correlation.
The symbols do not need to be grouped in pairs, and ideally, each symbol will be negatively related
to several other symbols in the set. This symbol selection infrastructure will be routinely used to
find negatively correlated symbols (so it should be set up to be somewhat easy to use). The symbols
and prices will be in MySQL tables. R must select a random date that is at least ‘duration’ days
from the maximum date in the historical quotes database. The random startdate must also be at least
‘correlationdays’ from the minimum date in the database. If preferred, some of the functionality of
selecting the symbols can be coded in a php script (rather than R). After selecting the symbols the
set of symbols should be recorded in the ‘symbols’ and ‘test’ tables.

Run the tests:
R can use quantmod (or we can code a php script) to loop time and run the batch of tests. The code
will need to call the algo for each time incriment. If there is some sort of malfunction the algo
will record a notation in the database. The statistician/R programmer can decide which script will
handle the testing loop. The testing framework will record the setprofit, godprofit & rank in the
test table. Once the algo is done running, it can send a response to R.

The test process will be looped until the average ‘rank’ value has been optimized.

Check the optimization:
The historical data will be split into parts. One part will be used to optimize the values. Next,
the tests will be run again on another part of the data to make sure the optimal values are valid.

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

Local Storage

October 13th, 2011 Comments off

Using an external .js file and write a save Data function that saves HTML form data into Local Storage. This includes all values for input, select, radio or checkboxes etc.
I need to save a key(random number) for my values(array or object). Each saved entry will be a key:value pair.
The key should be a randomly generated. The value should be an array or object that contains all the values of my form field data which will allow for my form to save multiple submissions into Local Storage without overwriting data.
Then I need to list out the saved data onto the screen from local storage when a user clicks a save data link. The original form should be hidden when I display the data from local storage onto the screen. (See attached screenshots for a guideline)
Included are all my files. The form displays properly but the submit does not save the data to local storage and my display data function does not work either. I just need someone to correct the submit and display functions so that they work.

Categories: Programming Tags: , , , , , ,

Form Copy Multi Checkbox Values To Single Textarea Using .js

October 10th, 2011 Comments off

Hi,

I have a site that currently I add search “tags” to each product by typing the search words into a textarea. I want to add tags to the textarea by checking boxes from a list of checkboxes and copying their values as text to the a “search tags” textarea on a form.

For example I go to a product page, and there is a list of tags:

Dog
Cat
Rabbit

I will then select “Cat” and “Rabbit” and those same texts would be copied into the textarea as:

Cat Rabbit

The textarea and checkboxes are already in place. Just need a few lines of javascript to copy the value of each “checked” checkbox text value to a single textarea.

Going offline now but I will select the CHEAPEST programmer who submits a working example with their bid. I have had to cancel too many projects due to programmers assuring me they are capable and they turn out not to be up to the job. Thank you.

Put Some Values In A Session Variable Of A Php Session

September 17th, 2011 Comments off

We have a php online shop which is similar to below:

https://order.exchangemymail.com/http/index.php?NAME_PATH=EXCHANGE2K7_HOSTING&SCREEN=HOSTING_SCREEN&view=edit&lineNr=0&PHPSESSID=d58d6bc2d2f8661ee7194df1d673e705

we have to preselect the number of units in the “Additional” column.
As we do not have source code for the online shop, we have to do this by manipulating the session variables first in that php session and redirect customer to that session. so variables get preselected when user view the session.

The task is to write that php script that manipulates that php session.

Submit Multiple Forms With Multiple Values On One Page

September 16th, 2011 Comments off

I have a single page with 10 forms. they are identical except for one variable. I want to reduce this to one form using php to process each value of the array so I only need one form and then a separate file for the IDs. on that page I want to auto-submit the form using this

<script>document.forms[0].submit();</script>

but for each of the 10 forms . Each form needs to be submitted in an iframe on that page.

Display Values & Update Commission Script

August 30th, 2011 Comments off

We need someone to help display values we see on our admin side in our member area as well. Also need to extract status of members from database and show in admin area.

Our mlm commission script needs slight modification or bug fix and we would therefore prefer someone with extensive php and mysql + mlm scripts knowledge.

We will need more work on our site and someone to perform regular tasks for us but not on a full-time basis.

Need Hometown Values Application For Android

August 26th, 2011 Comments off

I need the Hometown Values APP to be engineered for the Android.

Here is the link to the application for apple products
http://itunes.apple.com/us/app/hometown-values-local-coupons/id428132556?mt=8

This app will be tied into the hometown values database at www.myhometownvalues.com

Excel Project

August 26th, 2011 Comments off

I need to have an excel formula that will perform the following
tasks on a spread sheet in excel. I will send you the spreadsheet once the bid is accepted

1. Add up all of the values columns K and N. Multiply the final value by 0.05 and show the result below.

2. Use the values from columns K and N again. If either K or N values is equal to:

0 – $250,000 put the number 500 in column Q

251,000

Html Form

July 12th, 2011 Comments off

Arterial oxygen content:
CaO2 = (Hgb x 1.36 x SaO2) + (0.0031 x PaO2)

PaO2: Partial Pressure of Oxygen in Arterial Blood.
SaO2: Arterial Oxygen Saturation (hemoglobin).
Hgb: Hemoglobin.
CaO2:Arterial oxygen content

PaO2, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to PaO2 before final calculation is made. Conversion factors for PaO2 are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

SaO2 = SaO2 / 100; SaO2 is to be converted from % to decimal.

Hgb, User is able to enter a value and select type of unit. unit values are g/dL, mmol/L, and g/L . All values will need to be converted to g/dL before final calculation is made. Conversion factors for Hgb are :
If g/dL no change.
If g/L * 0.1
if mmol/L * 0.6206

final answer is in “Vol%”

Categories: Conversion, Form, HTML Tags: , , , , , ,

Integrate Product Specials Into Easy Populate V2.76 Ms2

June 28th, 2011 Comments off

Easy Populate with Special Project Requirements
Easy Populate 2.76-MS2

Requirement
Our existing Easy Populate 2.76 implementation must be modified to add support for Specials (products being sold at a discounted price)
The following two columns must be added to all existing Easy Populate output files:
 v_products_specials_price
o Any number greater than zero and less than the current price of the product
 v_products_specials_expiry
o Any future date in the format of mm/dd/yyyy (ie. 1/31/2011)

Adding, removing and updating Specials must behave in the following ways:
Adding a Special price

Simple Paypal Subscription Script For Custom Values

June 28th, 2011 Comments off

I am looking for a simple solution for PayPal subscriptions.

I want to have a drop down box with 4 options.

The first three options are $5, $10, and $20 per month.

The fourth option is the word “Other”.

If the user selects the 4th option, a text field shows up to the right of the dropdown and allows them to enter in a custom subscription amount.

Once they have made their selection, they will click a PayPal Subscribe button and they will be taken to the PayPal payment page to make their subscription payment.

I just need the code that will be placed in the HTML…no design work…just the form code.

Thanks!

Simple Javascript Tweak

June 1st, 2011 Comments off

Simple project … long background….

I have an already created javascript script that changes the behaviour of a custom field my shopping cart. The custom script is set up to change the contents of a drop down list to dates pulled from a php script file. All works well except….

As the cart is checking the values returned it rejects my new values. I am trying to avoid hacking the actual cart software so I need to solve the problem.

I plan to change the field created in the cart to a text field so the return values can anything as far as the cart is concerned.

So the script needs to be changed to turn the text field into a dropdown and add the correct dates as before. Or any other trick to get the correct data going back when the form is posted.

You can see the previous test code at www.keevilandkeevil.co.uk/kak/test.html

I will do the integration with the cart I just need an updated test code. You can add js libraries to help if need be.

Nice quick job for someone with the right skills.

Javascript Send Form

May 22nd, 2011 Comments off

I have a “search website” function at:
http://search.mobilkul.se

I have tried to add some drop-down menus, but I am unable to get the values from drop-down menu sent to search field.

1) I need a Javascript which will collect values from the drop-down menu and send it to the search query field when you press search.

2) I also need a “Javascript expand/collapse” feature where my drop-down menus will appear as tickable boxes. So that you could post several values from the drop-down boxes at the same time.

3) If someone enteres a semicolon (:) on search field, Javascript should escape the : with a backslash ().

This should be an easy job… Please do not bid if you are unable to finish within 48 hours, I need this fixed asap.

Thank you!

Please Alter The Color Values Of This Business Card File

May 19th, 2011 Comments off

I need someone to correct the color values of a file for a business card so that it will match the other side of the card. I will provide you with the exact specs so that this can accomplished quickly and effectively. I need this done ASAP. IT should be quick and easy work for the right person.

Java Equations For Website.

May 13th, 2011 Comments off

6 Medical Equations Needed for medfixation.com

http://medfixation.com/alveolar-gas-equation has an example up.

I need the equations to blend into current theme better.

Equation 1:
Arterial oxygen content:
CaO2 = (Hgb x 1.36 x SaO2) + (0.0031 x PaO2)

PaO2: Partial Pressure of Oxygen in Arterial Blood.
SaO2: Arterial Oxygen Saturation (hemoglobin).
Hgb: Hemoglobin.
CaO2:Arterial oxygen content

PaO2, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to PaO2 before final calculation is made. Conversion factors for PaO2 are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

SaO2 = SaO2 / 100; SaO2 is to be converted from % to decimal.

Hgb, User is able to enter a value and select type of unit. unit values are g/dL, mmol/L, and g/L . All values will need to be converted to g/dL before final calculation is made. Conversion factors for Hgb are :
If g/dL no change.
If g/L * 0.1
if mmol/L * 0.6206

final answer is in “Vol%”

Equation 2
Venous oxygen content:
CvO2 = (Hgb x 1.36 x SvO2) + (0.0031 x PvO2)

PvO2: Partial Pressure of Oxygen in Venous Blood.
SvO2: Venous Oxygen Saturation (hemoglobin).
Hgb: Hemoglobin.
CVO2:Venous oxygen content

PvO2, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to PvO2 before final calculation is made. Conversion factors for PvO2 are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

SvO2 = SvO2 / 100; SvO2 is to be converted from % to decimal.

Hgb, User is able to enter a value and select type of unit. unit values are g/dL, mmol/L, and g/L . All values will need to be converted to g/dL before final calculation is made. Conversion factors for Hgb are :
If g/dL no change.
If g/L * 0.1
if mmol/L * 0.6206

final answer is in “Vol%”

Equation 3
Capillary oxygen content:
CcO2 = (Hgb x 1.36) + (0.0031 x PAO2)

PAO2: Partial Pressure of Alveolar Oxygen
Hgb: Hemoglobin.
CcO2:Capillary oxygen content

PAO2, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to PAO2 before final calculation is made. Conversion factors for PAO2 are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

Hgb, User is able to enter a value and select type of unit. unit values are g/dL, mmol/L, and g/L . All values will need to be converted to g/dL before final calculation is made. Conversion factors for Hgb are :
If g/dL no change.
If g/L * 0.1
if mmol/L * 0.6206

final answer is in “Vol%”

Equation 4
Classic Shunt Equation
Qs/Qt = (CcO2 – CaO2)/(CcO2 -CvO2)

CcO2: Oxygen Content of end pulmonary capillary blood
CaO2: Oxygen Content of arterial blood
CvO2: Mixed venous Oxygen Content

CcO2, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to CcO2 before final calculation is made. Conversion factors for CcO2 are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

CaO2, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to CaO2 before final calculation is made. Conversion factors for CaO2 are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

CvO2, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to CvO2 before final calculation is made. Conversion factors for CvO2 are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

Final Answer unit is in “%”

Equation 5
Systemic Vascular Resistance
SVR = ((MPAP -CVP )/CO) *80

SVR: Systemic Vascular Resistance
MPAP: Mean Pulmonary Artery Pressure
CVP: Central venous pressure
CO: Cardiac Output

MPAP, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to MPAP before final calculation is made. Conversion factors for MPAP are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

CVP, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to CVP before final calculation is made. Conversion factors for MPAP are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

CO is in L/Min

Final unit answer is in: (dyne*sec)/cm^-5

Equation 6
Pulmonary Vascular Resistance
PVR = ((MPAP -PCWP )/CO) *80

PVR: Pulmonary Vascular Resistance
MPAP: Mean Pulmonary Artery Pressure
PCWP: pulmonary capillary wedge pressure
CO: Cardiac Output

MPAP, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to MPAP before final calculation is made. Conversion factors for MPAP are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

PCWP, User is able to enter a value and select type of unit. unit values are mmHg, cmH2O, kap, bar, atm, psi. All values will need to be converted to PCWP before final calculation is made. Conversion factors for MPAP are :
If cmH2O * 0.73553 for mmhg
If kpa * 7.50061 for mmhg
If bar * 750.06168 for mmhg
If atm * 760.0 for mmhg
If psi * 51.71493 for mmhg
If mmHg no change.

CO is in L/Min

Final unit answer is in: (dyne*sec)/cm^-5

Categories: Conversion, Java, Wordpress Tags: , , , , , ,

Word Template Filled With Values Via Js – Page Breaks Lost

April 19th, 2011 Comments off

The attached zip file contains all needed files to test.
Check info.txt for instructions.

We create MS-Word documents out of a Java-application by calling a js script which then fills MS-Word templates with Mail merge fields with values from csv files.
This works all fine, but when we add manual page breaks (for layout purposes) to the templates, then these page breaks are mnissing then in the finally created and filled MW-Word document.

So the js fiel must be fixed to keep the page breaks.

Looking For A Tutor

April 9th, 2011 Comments off

I am looking for a instructor who can help me learn how to do this project. I need to get this done in 2 weeks. It involves html, css, JavaScript (drop down menus). However, the values needs to come from a file so it can be edited later. I hear that json and jquery can do it, perhaps php, but i dont know.

About my project, I have 4 chained drop down menus; while you are reading this, you should open the untitled.html.
when i select a value in majors ddm , concentration fields ddm values change. When i select a value in concentration fields ddm, the concentration courses ddm values change. The download in pdf button is going to download the form in pdf format. Core courses ddm is going to provide different values than concentration fields ddm when a value from the majors ddm is selected. I will provide those values. All courses ddm is going provide all values of concentration courses for each selection of concentration fields ddm. There are values for each selection, so i want all of it in all courses ddm. In summary, 4 linked ddms, 1 individual ddm and download in pdf button.

The table format is in Untitled-1.html.
The mpsp.html will provide the values(not for core courses) and the logic. It is a example of what i am talking about, but some of it, not all. you will see that logic goes in following; majors – concentration fields – concentration courses.

Please contact me if you have any additional questions about the project. I spent some time writing this, so please respect that.

Thank You

C++ / Matlab Simple Project. ( Easy)

April 8th, 2011 Comments off

Please see the attached file for details.

Write a MATLAB main .m file and one function m file that executes the following:
a. The main file opens the data file noisedatapa5.txt using fopen and fscanf to read the dc, gt, and snr values into arrays. (You must use the exact file provided with the problem statement including the text headings.) To read lines of text in MATLAB you use the function fgets . (To learn how to use fgets, type help fgets at the command line prompt.)

b. The main m-file uses polyfit, to determine the slopes (a[i]) and intercepts (b[i]) of the best fit lines of snr (y) vs. gt (x) for each value of dc (there are five values of dc). The equation is: snr = a[i]*gt + b[i] for a given dc (You will determine a[i], b[i], for each value of dc, where i ranges from 1 to 5, and is related to the different values of dc.)

c. The main m-file calls a function that you write and sends it the values of gt and snr for each dc value and finds the corresponding rsquared[i] values. The function returns the rsquared[i] values to the main m-file. The main m-file then prints a well-formatted and labeled table to the screen showing the values of slope, intercept and rsquared. (Example below.)

d. The main m-file prompts the user for a design value of snr (call it snrinput), and determines, using the relationships and coefficients determined in part b, an array of gt[i] values that will give the input value of snr for each dc data value. (Or in other words: gt[i]=(snrinput – b[i])/a[i] ; where i ranges from 1 to 5.). The resulting gt[i] values are stored in an array.

e. The main program then uses polyfit again to determine the slope and intercept of the gt[i] values determined in part d vs. the five dc values using this equation:
gt = E1*dc + E2 (Where E1 and E2 are unique for the chosen snrinput).
The main program then writes the values of E1, E2 and the chosen snrinput to the screen in a well-formatted manner.

f. The program then uses the approximate and empirical relationship that cost is proportional to the product of gt and dc to arrive at the optimum cost gt and dc:

derivation follows

cost = k*(dc*gt) (where k is a constant that will cancel out)

substituting in the relationship of gt and dc:
cost = k*(dc*(E1*dc + E2))

Take the derivative of cost with respect to dc, and set it equal to zero:
d(cost)/d(dc) = k*(2*E1 *dc+E2) = 0

solve for
dc = -E2/(2*E1)

substitute this dc of minimum cost into the gt dc relationship using E1 and E2:
gt minimum cost = E1*(dc minimum cost) + E2

These results (dc and gt for minimum cost) are printed to both the screen and the results.txt file in a well-formatted manner.
Reminder: Always display units with numbers when appropriate.

g. The main m-file then plots two figures: one that shows the best fit of the raw data (snr vs. gt) and the derived relationship of gt versus dc for the input value of snr.

Categories: C/C++, Easy, Simple Tags: , , , , , ,

Java Assignment Needed Done 2

February 23rd, 2010 Comments off

I have a assignment that requires knowledge in java see the attached file for details i need this done in next 6 hours pay is 35.00 for it , there is a book required as well

Note: You will be using either the Scanner class or the JOptionPane class to accept input in all of your programs. (Follow the example given in the BankAccount class in the text book). Do not forget documentation.

1. (30 points) DO NOT make this exercise more difficult than it is. We will build on this in the next questions. Start simple! Write the definition for a class named Employee. Create public members named empName, empHours, empRate, and empSalary. Allow the class to have a method named display. The display method will only have output statements to print the values of the member variables. Save the file as Employee.java. Create a test program that creates 2 objects named e1, and e2. Assign values (NO INPUT) for the member variables and call the method display to display the values of the member attributes. Save the test program as TestEmployee.java.

SEE ATTACHED FILE FOR MORE DETAILS

Custom Photoshop Filter

February 13th, 2010 Comments off

Spec for image filter

The filter would operate in DNG, JPG and TIF formats and sRGB color spaces and can be used on large images such as 9000 x 14000 px

Function:

* divide the image into small rectangular areas (for example 60px x 40 px)
* accurately average the color in each rectangular area
* divide this color into two color values according to a dithering algorithm such that two two colors when viewed at a distance provide the visual equivalent of the averaged value
* color the background of the rectangular area with the darker of the two values
* place an oval into the center of the rectangular area such that the area of the oval is equal to the area of the rectangle not covered by it (ie. approximately same number of pixels covered by each)
* and color this with the other value

Controls would enable the user to:
* specify the size of the rectangle area in length and width in pixel values

Output would be precise and would provide clean, sharp edges for each rectangular area but smoothed edges for the oval.
Allow saving of the image in the original format and color space.

Optional but desired feature: output result in vector format.

Ideally this filter could be operated in Photoshop CS3

Simple Date Class Program C++

February 8th, 2010 Comments off

1. Write a program that creates a simple Date class that can be used to store dates in three integers, one for the year, one for the month, and one for the day. The program should then ask the user for input from the keyboard of a date in the format YYYY, then MM, then DD where all the values are integers. Next the program should print out the date to the screen in the format YYY-MM-DD:

2010-02-03

The Date class should have public functions that include:

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

Employee Database Sql

February 3rd, 2010 Comments off

I need to do the following with my code that is attached.

4.4 how many people are salaried and how many are regular
4.5 Calculate the minimum salary for all salaried employees
4.6 Calculate the minimum wage rate for all regular employees
4.7 Calculate the average wage for each eeo-1 classifications
4.8 Calculate the maximum salary for exempt employees and the maximum salary for non-exempt employees
4.9 Calculate the minimum salary for exempt employees and the maximum salary for non-exempt employees

CREATE TABLE Employee
(Emp_id int primary key identity(1,1) NOT NULL,
Last_name varchar(25),
First_name varchar(25),
Address varchar(40),
City varchar(15),
State char(2),
Telephone_area_code varchar(3),
Telephone_number varchar(8),
Job_title varchar(50),
Hire_date DATE,
Wage money,
Gender char(1) ,
Race varchar(25),
Age int );

CREATE TABLE Job_title
(Job_title varchar(50) primary key NOT NULL,
EEO_1_Classification varchar(30),
Job_description varchar(250),
Exempt_Non_Exempt_Status bit);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Edelman’, ‘Glenn’, ’175 Bishops Lane’, ‘La Jolla’, ‘CA’, ’629′, ’555-0199′, ‘Cashier’, ’10-07-2003′, 10.75, ‘M’, ‘Caucasian’, 64);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘McMullen’, ‘Eric’, ’763 Church St’, ‘Lemon Grove’, ‘CA’, ’619′, ’555-0135′, ‘Bagger’, ’11-01-2002′, 6.75, ‘M’, ‘Caucasian’, 20);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Slentz’, ‘Raj’, ’123 Torrey Dr’, ‘North Clairmont’, ‘CA’, ’619′, ’555-0123′, ‘Assistant Manager’, ’06-01-2000′, 48000, ‘M’, ‘Asian’, 34);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Broun’, ‘Erin’, ’2045 Parkway Apt 2B’, ‘Encinitas’, ‘CA’, ’760′, ’555-0100′, ‘Bagger – 30 hours/wk’, ’03-12-2003′, 6.75, ‘F’, ‘Caucasian’, 24);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Carpenter’, ‘Donald’, ’927 Second St’, ‘Encinitas’, ‘CA’, ’619′, ’555-0154′, ‘Stocker’, ’11-01-2003′, 7.50, ‘M’, ‘African American’, 18);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Esquivez’, ‘David’, ’10983 N Coast Hwy Apt 902′, ‘Encinitas’, ‘CA’, ’760′, ’555-0108′, ‘Asst. – Butchers & Seafood Specialists’, ’07-25-2003′, 9.25, ‘M’, ‘Hispanic’, 25);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Sharp’, ‘Nancy’, ’10793 Montecino Rd’, ‘Ramona’, ‘CA’, ’858′, ’555-0135′, ‘Cashier’, ’07-12-2003′, 10.50, ‘F’, ‘Caucasian’, 24);

INSERT INTO Job_title (Job_title, EEO_1_Classification, Job_description, Exempt_Non_Exempt_Status)
VALUES (‘Accounting Clerk’, ‘Office Clerical’, ‘COmputes, classifies, records, and verifies numerical data for use in maintaining accounting records’, 0);

INSERT INTO Job_title (Job_title, EEO_1_Classification, Job_description, Exempt_Non_Exempt_Status)
VALUES (‘Assistant Manager’, ‘Officials & Managers’, ‘Supervises and coordinates activities of workers in department of food store. Assists store managerin daily operations of store’, 1);

INSERT INTO Job_title (Job_title, EEO_1_Classification, Job_description, Exempt_Non_Exempt_Status)
VALUES (‘Bagger’, ‘Sales Workers’, ‘Places customers orders in bags. Performs carryout duties for customers’, 0);

INSERT INTO Job_title (Job_title, EEO_1_Classification, Job_description, Exempt_Non_Exempt_Status)
VALUES (‘Cashier’, ‘Sales Workers’, ‘Operates cash register to itemize and total customers purchases in grocery store’, 0);

INSERT INTO Job_title (Job_title, EEO_1_Classification, Job_description, Exempt_Non_Exempt_Status)
VALUES (‘Computer Support Specialist’, ‘Technician’, ‘Installs, modifies, and makes minor repairs to personal computer hardware and software systems, and provides technical assistance and training to system users’, 0);

INSERT INTO Job_title (Job_title, EEO_1_Classification, Job_description, Exempt_Non_Exempt_Status)
VALUES (‘Director of Finance & Accounting’, ‘Officials & Managers’, ‘Plans and directs the finance and accounting activities for Kudler Fine Foods’, 1);

INSERT INTO Job_title (Job_title, EEO_1_Classification, Job_description, Exempt_Non_Exempt_Status)
VALUES (‘Retail Assistant’, ‘Craft Workers’, ‘Obtains or prepares food items requested by customers in retail food store’, 0);

INSERT INTO Job_title (Job_title, EEO_1_Classification, Job_description, Exempt_Non_Exempt_Status)
VALUES (‘Stocker’, ‘Office/Clerical’, ‘Stores, prices and restocks merchandise displays in store’, 0);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Avery’, ‘Ledonna’, ’198 Governor Dr’, ‘Del Mar’, ‘CA’, ’619′, ’555-0135′, ‘Asst Bakery & Pastry’, ’3-28-2003′, 10.50, ‘F’, ‘African American’, 23);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Drohos’, ‘Craig’, ‘Null’, ‘Selena Beach’, ‘CA’, ’619′, ’555-0202′, ‘Assistant Manager’, ’6-15-2000′, 51000, ‘M’, ‘Caucasian’, 32);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Meier’, ‘Elaine’, ’9703 Orchid Lane’, ‘Del Mar’, ‘CA’, ’858′, ’555-0112′, ‘Cashier’, ’9-10-2000′, 10.25, ‘F’, ‘Asian’, 51);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Quillian’, ‘Stanley’, ’98542 Wandering Road Apt 2-B’, ‘Del Mar’, ‘CA’, ’760′, ’555-0198′, ‘Asst Butchers & Seafood Specialist’, ’12-6-1999′, 11.50, ‘M’, ‘American Indian’, 29);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Tyink’, ‘Thomas’, ’87592 Pacific Heights Blvd’, ‘Del Mar’, ‘CA’, ’858′, ’555-0159′, ‘Asst Bakery & Pastry’, ’5-1-2001′, 9.50, ‘F’, ‘Asian’, 35);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Vance’, ‘Brent’, ’927 Cynthia Lane’, ‘Spontney’, ‘CA’, ’858′, ’555-0147′, ‘Bagger’, ’3-29-2001′, 6.75, ‘M’, ‘Caucasian’, 22);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘McNamara’, ‘Juanita’, ’923 Parkway’, ‘Roway’, ‘CA’, ’619′, ’555-0500′, ‘Accounting Clerk’, ’10-29-1999′, 12.75, ‘F’, ‘Hispanic’, 32);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Nguyen’, ‘Meredith’, ’10583 Arenas St’, ‘La Jolla’, ‘CA’, ’619′, ’555-0102′, ‘Computer Support Specialist’, ’9-27-1998′, 21.50, ‘M’, ‘Caucasian’, 25);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Stephens’, ‘Harvey’, ’7863 High Bluff Drive’, ‘La Jolla’, ‘CA’, ’619′, ’555-0123′, ‘Dir of Finance and Acct’, ’3-9-1999′, 75000, ‘M’, ‘Caucasian’, 51);

INSERT INTO Employee (Last_name, First_name, Address, City, State, Telephone_area_code, Telephone_number, Job_title, Hire_date, Wage, Gender, Race, Age)
VALUES (‘Vu’, ‘Matthew’, ’981 Torrey Pines Road’, ‘La Jolla’, ‘CA’, ’619′, ’555-0138′, ‘Computer Support Specialists’, ’8-16-2000′, 18.50, ‘M’, ‘Asian’, 26);

– 3.2 verifies data in tables
SELECT * FROM Employee

SELECT * FROM Job_title

–3.3 joins two tables and restricts data by wage
SELECT *
FROM Employee
JOIN Job_title
ON Employee.Job_title=Job_title.Job_title
WHERE Wage
BETWEEN 9.00 and 13.00

–3.4 Joins two tables and uses hire_date to restrict data
SELECT *
FROM Employee
JOIN Job_title
ON Employee.Job_title=Job_title.Job_title
WHERE Hire_date
BETWEEN ’1-1-1999′ AND ’12-31-2009′

–3.5 Sorts data by telephone area code
SELECT *
FROM Employee
JOIN Job_Title
ON Employee.Job_Title = Job_Title.Job_Title
WHERE Telephone_Area_Code
LIKE ’619′

Categories: SQL Tags: , , , , , ,

Online Game Rare Values

February 1st, 2010 Comments off

I need a clone of a trade values site for the online game, Habbo Hotel. There should be a control panel to add the piece of furniture, its picture, name, and value, and whether is is steady, losing, or gaining value. The value should show a blue number for steady, green for rising, and red for dropping. I’d like a popup with this info when mousing over the furniture. Please see http://www.habbopfm.com/ for a perfect example. Also I need to be able to categorize the rares into different sets, such as Rares, Super Rares, Seasonals, etc.

A HUGE plus would be the possibility to have a “calculator” feature in which a user clicks a rare and its total is added to the calculator automatically. Whatever is clicked is added to give a grand total.

Multi Link Cycler W/ Ip Change

January 28th, 2010 Comments off

I am looking for a program or script where i can enter in 50-60 specific website pages i would like refreshed, and then to have the program cycle through the list of websites in order. There should also be a provision to set an interval of time before going to the next page.

Example: I could enter Between 43.7 seconds and 85.2 seconds, and the program will pick a random number between those two entered values each time to wait before moving on to loading the next page address in the link.

I would also like the ability to allow an automatic ip change/proxy after a certain amount of cycles. Again able to edit how many cycles before changing to a new ip address/proxy by putting two values and then being randomly selected between those values.

The program should open a window to view the page currently being displayed/refreshed

If you have any further questions or are interested in this project please let me know and feel free to make a bid. The concept is simple, and i have other sites use these features, but not together. Knowledge of ip changing and proxy usage is a big plus. Setting up ip and proxy selections would also be a plus, or implementing an easy to use addition system would be a plus.

Example, having a separate list where I could enter in several proxy servers to be used.

Msaccess Pay Calculator

January 12th, 2010 Comments off

I am looking for a reliable programmer, that can complete a very urgent project this week still.

The project is as follows:

I have an existing Excel spreadsheet that is used to enter variable pay values (see attached SALARY RESTR TEMPLATE 2010tax yr.xls). I have converted this to ms-access with the following changes.

1. Created an import from a CSV file which is generated from the payroll on a monthly basis.

2. This refreshes the data on a monthly basis in msaccess, and enables the client to cycle through employees and then play with travel values and package values to see what the tax implication will be.

3. The ms-access application can then generate a travel allowance 1 sign off form and a travel allowance 2 sign off form, as well as an agreement by the employee that can be emailed or printed and the employee then signs to give consent to change his salary structure.

I will provide the excel spreadsheet, and my mdb project. I need someone to complete this urgently. I have not yet built the vba functions from the excel spreadsheet into the mdb yet and need all the excel logic transferred to the mdb file.

The reason access is being used as opposed to excel, is so that multiple records can be worked on at the same time.

Use Url For Search Box Values

December 20th, 2009 Comments off

I need a script that is able to get the values from a url I type into the browser and pass it through the below url to return the results I want.

http://www.travelstaywhere.com/booking.php

For example, if I am searching for “paris” hotels and results sorted from the 5 star to 1 star hotels, I can key in the following url in the browser and get it to return a page of paris hotels:

http://www.travelstaywhere.com/results.php?values=paris&order=class

For results sorted from 1 star to 5 star, I can use, “order=class_asc” in the url.

Usually, the values are keyed into the search box in the home page and when the user clicks the search button, the values are passed through booking.php file before results are displayed.

Url For Search Box Values

December 19th, 2009 Comments off

I want a script that is able to get the values from a url I type into the browser and pass it through the below url to return the results I want.

http://www.travelstaywhere.com/booking.php

For example, if I am searching for “paris” hotels and results sorted from the 5 star to 1 star hotels, I can key in the following url in the browser and get it to return a page of paris hotels:

http://www.travelstaywhere.com/results.php?values=paris&order=class

For results sorted from 1 star to 5 star, I can use, “order=class_asc” in the url.

Categories: PHP, Programming Tags: , , , , , ,

Simple Excel Vba Combine Scrip

December 17th, 2009 Comments off

I have a very simple VBA code I need I just don’t know how to do it so posting here;

I have several sheets in a workbook with multi-column records.
Many of these records are partially identical and need to be merged. Generally this is because one record has values in some fields and the other has values in others.
The process is essentially;
I identify one or more fields that indicate what constitutes a match (e.g. Field1 and Field2 must be a match to be considered identical)

Then create a new record (row) which uses the fields from each record that has values in it so I have a new complete record.
This is all obviously very easy code (User Choose Key Fields, Code combines into one record based on which fields in which record are non-null, which obviously will not be either of the ones I indicated as key).

The only snag in this which will be a very few cases is sometimes there will be values in non-key fields in both (or all three) records that have values in them. In this case I need to indicate which to keep. So I am hoping as it steps through doing the process a dialog box can pop-up and allow me to choose which values from the field(s) that have conflicting values. As I see it would have a dialog box with

Field1: Value [x] Keep
Field2: Value [x] Keep
So I can keep either or both. Both would store both with a colon separator.

Need Online Value Calculator

December 15th, 2009 Comments off

We need to build a SCRIPT (in a pop up window, or framed into our current website) that has 10 questions. Each one requesting an answer from the site visitor that would having a numeric value. The calculator script would add up the values and display a total value as the result.

Example.

Question 1:

How often do you dine out each month?

Answer may be 3. Which would equal create a calculation of 3 x 10.00 x 12 months = $360.00

Question 2:

How often do you use a hotel each month?

Answer may be 1. Which would equal create a calculation of 1 x 20.00 x 12 months = $240.00

etc etc. etc 10 questions total.

So when the site vistor clicks on the SUBMIT button after answering the question, then the results of all the above questions would be returned to total values for all the questions, ie. $600.00 for the above two questions.

The is a simple script with fixed values based upon multiples.

If you bid on this, please be prepared to FINISH the work in 3 days maximum. You must have a rating on SL to bid. We are NOT having very good luck with newbie programmers with zero feedback ratings.

Passing Values From Child Pa 2

December 11th, 2009 Comments off

I’m building a website and need help with one page. This will require javascript programming skills that I don’t have.

I have a code to submit values from child page to the parent page but some of the inputs I take values from are conditional or repeat – defined by php and the values are not transferred. Enclosed is the file with the code. The relevant pieces are the javascript code in the head and what is inside the “products” form.

The child page lists product details with supplier information. For each product there can be more than one supplier options: each option has one or two suppliers. This is stored in table ProductsJoinSuppliers where I have fields for the product_id, supplier_id and supplier2_id.
On top of this each supplier has contacts and this information also has to be transferred to the parent page.

At the moment only the following are transferred: (product)code and (product)name. supplier_id is transferred only when only one exists (when there’s more it doesn’t transfer).

This is what I’ll expect you to do:
1. supplier_id, supplier_contact, supplier2_id and supplier2_contact must be transferred to parent page
2. when user selects supplier_id with the radio button, supplier2_id from the same table is selected as well
3. I will not give you any passwords for the server, for testing you’ll need to use your own server

Please only bid if you know how to fix this (sample code and ideas of solutions are welcome so that I can check if you know what you’re talking about and understand the project).

Bear