vertical-align:middle;
}
</style></head><body>
- <div id="content"><script type="text/cycript">
- document.write('<div id="lcd">');
-
- var locale = CFLocaleCopyCurrent();
- var now = CFDateCreate(NULL, CFAbsoluteTimeGetCurrent());
- var formatter = CFDateFormatterCreate(NULL, locale, kCFDateFormatterNoStyle, kCFDateFormatterNoStyle);
- CFRelease(locale);
-
- CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UINoAMPMTimeFormat));
- var time = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
- document.write('<h1>');
- document.write(time);
- document.write('</h1>');
- CFRelease(time);
-
- CFDateFormatterSetFormat(formatter, UIDateFormatStringForFormatType(UIWeekdayNoYearDateFormat));
- var date = CFDateFormatterCreateStringWithDate(NULL, formatter, now);
- document.write('<h2>');
- document.write(date);
- document.write('</h2>');
- CFRelease(date);
-
- CFRelease(formatter);
- CFRelease(now);
-
- document.write('</div>');
-
+ <div id="content">
+ <script type="text/cycript" src="lcd.cy"></script>
+ <script type="text/cycript">
+ document.write([NSString stringWithString:'A'].toString());
+ </script>
+ <script type="text/cycript">
+ document.write([NSString stringWithString:'B'].toString());
+ </script>
+ <script type="text/cycript">
+ document.write([NSString stringWithString:'C'].toString());
+ </script>
+ <script type="text/cycript" src="lcd.cy"></script>
+ P
+ <script type="text/cycript">
+ document.write([NSString stringWithString:'D'].toString());
+ </script>
+ <script type="text/cycript">
+ document.write([NSString stringWithString:'E'].toString());
+ </script>
+ <script type="text/cycript">
dlopen("/System/Library/PrivateFrameworks/PhotoLibrary.framework/PhotoLibrary", RTLD_GLOBAL);
var old = [PLCameraAlbum respondsToSelector:@selector(sharedInstance)];
break;
}
- document.write('<img src="' + jpeg + '"/>');
+ document.write('<img src="' + jpeg.toString() + '"/>');
</script></div>
</body></html>