...

View Full Version : Forms



Army Brat
07-11-2007, 12:57 AM
I'm trying to get a stock market running on my freewebs site (.../the-commissioner). However, I don't want to start paying for my site so I can get more than fifteen paragraphs, which the form generator forces you make (new ones that is), on a page. Thus, I need to make raw html paragraphs out of all of the forms I have. I need a raw html paragraph of a balance sheet, cash flow statement, and income statement as well.

edit: Easier question: what's the coding for a form?

Army Brat
07-19-2007, 10:14 PM
Okay, I now have an uncoded example an income statement (quarterly and annual) (enclosed in
tags to save space):

Annual[code] VIACOM INC. AND SUBSIDIARIES
CONSOLIDATED STATEMENTS OF OPERATIONS
(In millions, except per share amounts)
----------------------------------------------------------------------------------------------
Year Ended December 31, 2004 2003 2002
----------------------------------------------------------------------------------------------
Revenues $ 22,525.9 $ 20,827.6 $19,186.8
Expenses:
Operating 12,545.8 11,879.8 10,735.5
Selling, general and administrative 4,142.1 3,732.3 3,498.6
Depreciation and amortization 809.9 741.9 711.8
Impairment charge (Note 3) 17,997.1
----------------------------------------------------------------------------------------------
Total expenses 35,494.9 16,354.0 14,945.9
----------------------------------------------------------------------------------------------
Operating income (loss) (12,969.0) 4,473.6 4,240.9
Interest expense (718.9) (742.9) (799.1)
Interest income 25.3 11.7 12.0
Other items, net 7.6 (3.0) (32.9)
----------------------------------------------------------------------------------------------
Earnings (loss) from continuing operations before
income taxes, equity in earnings (loss) of affiliated
companies and minority interest (13,655.0) 3,739.4 3,420.9
Provision for income taxes (1,378.6) (1,497.0) (1,338.3)
Equity in earnings (loss) of affiliated companies,
net of tax (20.8) .1 (37.3)
Minority interest, net of tax (5.1) (4.7) (3.3)
----------------------------------------------------------------------------------------------
Net earnings (loss) from continuing operations (15,059.5) 2,237.8 2,042.0
----------------------------------------------------------------------------------------------
Discontinued operations (Note 2):
Earnings (loss) from discontinued operations (1,182.7) (718.8) 255.3
Income taxes, net of minority interest 92.4 (83.6) (90.7)
----------------------------------------------------------------------------------------------
Net earnings (loss) from discontinued operations (1,090.3) (802.4) 164.6
----------------------------------------------------------------------------------------------
Net earnings (loss) before cumulative effect of
accounting change (16,149.8) 1,435.4 2,206.6
Cumulative effect of accounting change, net of minority
interest and tax (Note 1) (1,312.4) (18.5) (1,480.9)
----------------------------------------------------------------------------------------------
Net earnings (loss) $ (17,462.2) $ 1,416.9 $ 725.7
----------------------------------------------------------------------------------------------

Basic earnings (loss) per common share:
Net earnings (loss) from continuing operations $ (8.78) $ 1.28 $1.16
Net earnings (loss) from discontinued operations $ (.64) $ (.46) $ .09
Net earnings (loss) before cumulative effect of
accounting change $ (9.42) $ .82 $ 1.26
Cumulative effect of accounting change $ (.77) $ (.01) $ (.84)
Net earnings (loss) $(10.19) $ .81 $ .41
Diluted earnings (loss) per common share:
Net earnings (loss) from continuing operations $ (8.78) $ 1.27 $ 1.15
Net earnings (loss) from discontinued operations $ (.64) $ (.46) $ .09
Net earnings (loss) before cumulative effect of
accounting change $ (9.42) $ .82 $ 1.24
Cumulative effect of accounting change $ (.77) $ (.01) $ (.83)
Net earnings (loss) $(10.19) $ .80 $ .41

Weighted average number of common shares outstanding:
Basic 1,714.4 1,744.0 1,752.8
Diluted 1,714.4 1,760.7 1,774.8

Dividends per common share $ - $ .25 $ .12
Quarterly
PERIOD ENDING 31-Mar-07 31-Dec-06 30-Sep-06 30-Jun-06
Total Revenue 2,746,000 3,592,500 2,659,800 2,846,700
Cost of Revenue - 2,011,500 1,301,700 1,582,000
Gross Profit 2,746,000 1,581,000 1,358,100 1,264,700
Operating Expenses
Research Development - - - -
Selling General and Administrative 2,207,600 648,600 604,200 518,700
Non Recurring - - - -
Others 95,600 102,800 98,400 82,800

Total Operating Expenses - - - -
Operating Income or Loss 442,800 829,600 655,500 663,200
Income from Continuing Operations
Total Other Income/Expenses Net 3,600 19,300 (30,600) 15,400
Earnings Before Interest And Taxes 446,400 848,900 624,900 678,600
Interest Expense 118,000 154,100 94,400 118,700
Income Before Tax 328,400 694,800 530,500 559,900
Income Tax Expense 124,800 208,200 169,700 144,900
Minority Interest (3,400) (9,700) (2,100) (900)

Net Income From Continuing Ops 202,900 480,800 356,300 416,000
Non-recurring Events
Discontinued Operations - - 500 21,300
Extraordinary Items - - - -
Effect Of Accounting Changes - - - -
Other Items - - - -
Net Income 202,900 480,800 356,800 437,300
Preferred Stock And Other Adjustments - - - -
Net Income Applicable To Common Shares $202,900 $480,800 $356,800 $437,300

How do I turn these into html forms? Lines with numerical values should look like [Field name] [Field one] [Field two] [Field three] (Quarterly only) [Filed four]. The "Year ending" and "Period Ending" Fields should have fixed values. Also, How do I code in a required text field?

horseatingweeds
07-20-2007, 07:25 AM
For this you should use a table. In html there are forms but these are for uploading information. This I'm typing in right now is an example of a form.

There should be plenty of tutorials online for learning to use html tables.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum