Need OpenAds (phpAdsNew) script customized so that I can add a "cost-per-click" input in the administrator's page which would be associated with a userid in a mySQL database.
The "Cost" would then need to be displayed in the client stats page in column format next to the adviews, clicks, and ctr columns (see red notes - sample image attached). The "Cost" column would essentially display the result of the basic forumula: AdClicks x cost-per-click = Cost.
The information should be dynamic so that the totals can be displayed on a daily, weekly, monthly range, etc. The script is already set up to display these formats, only the cost column would need to be integrated.
The script requires regular upgrading to newer versions, so if possible, a stand-alone design would be preferred, although direct modification is fine as long as it doesn't alter a significant portion of the original.