This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function dpToPixel(dp) { | |
return ( parseInt(dp) * (Titanium.Platform.displayCaps.dpi / 160)); | |
} | |
// convert pixel to dp. | |
function pixelToDp(px,nounit) { | |
return ( parseInt(px) / (Titanium.Platform.displayCaps.dpi / 160)) + (nounit?0:'dp'); | |
} | |
var reArrangeLable = function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO `muracms`.`tcontentcomments` | |
(commentId,contentId,comments,NAME,email,url,entered,isApproved,siteId) | |
SELECT | |
MC.id AS commentId, | |
MUT.contentId AS contentId, | |
MC.content AS comments, | |
MC.creator_name AS NAME, | |
MC.creator_email AS email, | |
MC.creator_url AS url, | |
MC.created_on AS entered, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
x = createobject("webservice","http://www.webservicex.net/genericbarcode.asmx?WSDL",{refreshWSDL="yes",wsdl2javaArgs="-a -O 2000"}); | |
argCollection.BarCodeParam = structNew(); | |
argCollection.BarCodeParam.Height = 100; | |
argCollection.BarCodeParam.Width = 200; | |
argCollection.BarCodeParam.Angle = 50; | |
argCollection.BarCodeParam.Ratio = 1; | |
argCollection.BarCodeParam.Module = 1; | |
argCollection.BarCodeParam.Left = 10; | |
argCollection.BarCodeParam.Top = 10; |