Advertisement
| 04.14.2008 at 10:57PM PDT, ID: 23322740 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 04.15.2008 at 01:58AM PDT, ID: 21357008 |
| 04.15.2008 at 03:54AM PDT, ID: 21357473 |
| 04.15.2008 at 06:57AM PDT, ID: 21358704 |
| 04.15.2008 at 07:24AM PDT, ID: 21358979 |
| 04.15.2008 at 08:08AM PDT, ID: 21359374 |
| 04.15.2008 at 08:23AM PDT, ID: 21359513 |
| 04.15.2008 at 10:22AM PDT, ID: 21360656 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: |
<!---additem.cfm--->
<!--- Aufrufinterface definieren --->
<CFIF CGI.REQUEST_METHOD eq "GET">
<cfparam name="URL.AID" type="numeric">
<cfparam name="URL.iCount" type="numeric">
<cfelse>
<cfabort>
</cfif>
<cfset ok=SESSION.cfoShoppingCard.add(URL.AID,URL.iCount)>
<!--- zurueck zum Shop --->
<cflocation url="listArticle.cfm?#getTickCount()#" addtoken="No">
<!---end--->
<!--- Application.cfm--->
<!--- Aufrufinterface definieren --->
<CFIF CGI.REQUEST_METHOD eq "GET">
<cfparam name="URL.AID" type="numeric">
<cfparam name="URL.iCount" type="numeric">
<cfelse>
<cfabort>
</cfif>
<cfset ok=SESSION.cfoShoppingCard.add(URL.AID,URL.iCount)>
<!--- zurueck zum Shop --->
<cflocation url="listArticle.cfm?#getTickCount()#" addtoken="No">
<!---end--->
<!---clearcard.cfm--->
<!--- Warenkorb löschen --->
<cfset SESSION.cfoShoppingCard.clear()>
<!--- zurueck zum Shop --->
<cflocation url="listArticle.cfm?#getTickCount()#" addtoken="No">
<!---end--->
<!---ListArticle.cfm--->
<!--- Anzahl der Artikel im Warenkorb ermitteln --->
<cfset iRecordcount=SESSION.cfoShoppingCard.getRecordcount()>
<!--- alle Artikel fuer den Shop auslesen--->
<cfquery name="qShop" datasource="#REQUEST.sDSN#" cachedwithin="#CreateTimeSpan(0,1,0,0)#">
select pkAID as AID, sTitle, sCategory, iPrice from TArticle
</cfquery>
<!----------------------------------------------------------------------->
<body>
<cfoutput>
#iRecordcount# Artikel im <a href="showCard.cfm?#getTickCount()#">Warenkorb!</a><br>
</cfoutput>
<form name="f">
<table border="1">
<tr bgcolor="00ffff">
<td>Kategorie</td>
<td>Artikel</td>
<td>Preis</td>
<td> </td>
</tr>
<cfoutput query="qShop">
<tr>
<td>#HTMLEditFormat(qShop.sCategory)#</td>
<td>#HTMLEditFormat(qShop.sTitle)#</td>
<td>#LSCurrencyFormat(qShop.iPrice,"none")# EUR</td>
<td nowrap>
<input type="Text" onFocus="this.select()" size="1" value="1" name="AID#qShop.AID#">
<input type="Button" value="einpacken"
onClick='self.location.replace("addItem.cfm?AID=#qShop.AID#&iCount="+document.f.AID#qShop.AID#.value)'>
</td>
</tr>
</cfoutput>
</table>
</form>
</body>
<!--- End...>
<!---Removeitem.cfm--->
<!--- Aufrufinterface definieren--->
<CFIF CGI.REQUEST_METHOD eq "GET">
<cfparam name="URL.AID" type="numeric">
<cfelse>
<cfabort>
</cfif>
<!--- Artikel loeschen --->
<cfset SESSION.cfoShoppingCard.remove(URL.AID)>
<!--- zurueck zur Warenkorbansicht --->
<cflocation url="showCard.cfm?#getTickCount()#" addtoken="No">
<!---end--->
<!---Shoppingcard.cfc--->
<!--- Aufrufinterface definieren--->
<CFIF CGI.REQUEST_METHOD eq "GET">
<cfparam name="URL.AID" type="numeric">
<cfelse>
<cfabort>
</cfif>
<!--- Artikel loeschen --->
<cfset SESSION.cfoShoppingCard.remove(URL.AID)>
<!--- zurueck zur Warenkorbansicht --->
<cflocation url="showCard.cfm?#getTickCount()#" addtoken="No">
<!---end--->
<!---showcard.cfm--->
<!--- Warenkorbdaten holen --->
<cfset qCard=SESSION.cfoShoppingCard.getQuery()>
<body>
<!--- Warenkorb anzeigen --->
<b>Inhalt Warenkorb:</b>
<table border="1">
<tr>
<td>Kategorie</td>
<td>Artikel</td>
<td>Preis</td>
<td>Anzahl</td>
<td>Gesamtpreis</td>
<td> </td>
</tr>
<cfoutput query="qCard">
<tr>
<td>#HTMLEditFormat(qCard.sCategory)#</td>
<td>#HTMLEditFormat(qCard.sTitle)#</td>
<td>#LSCurrencyFormat(qCard.iPrice,"none")# DM</td>
<td>#qCard.iCount#</td>
<td>#LSCurrencyFormat(qCard.iSum,"none")# DM</td>
<td><a href="removeItem.cfm?AID=#qCard.AID#&#getTickCount()#">entfernen</a></td>
</tr>
</cfoutput>
</table>
<cfoutput>
<a href="clearCard.cfm?#getTickCount()#">Warenkorb löschen</a> |
<a href="listArticle.cfm?#getTickCount()#">zurück zum Shop</a>
</cfoutput>
</body>
<!---end--->
DB:
pkAID sTitle iPrice sCategory
1,00 ¬ Messer 10,44 DM Besteck
2,00 ¬ Gabel 12,50 DM Besteck
3,00 ¬ Tasse 0,33 DM Versch.
4,00 ¬ Löffel 2,30 DM Besteck
5,00 ¬ Teller 4,50 DM Versch.
6,00 ¬ Becher 12,30 DM Versch.
7,00 ¬ Glas 23,40 DM Versch.
|