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
<?php | |
$album="Single Track"; | |
$category="pop"; | |
$letters=range('A', 'Z'); | |
include('config.php'); | |
include('simple_html_dom.php'); | |
for($l=20;$l<26;$l++) | |
{ | |
$ur="http://wap.bollywoodjalwa.com/home.php?dir=Ringtones/Mp3/MP3-Hollywood_Mp3/Hollywood-".$letters[$l]."&p=0&page=1&sort=1"; | |
$htm= file_get_html($ur); |
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
<?php | |
include('config.php'); | |
include('simple_html_dom.php'); | |
if(!empty($_POST['name']) && !empty($_POST['number'])) | |
{ | |
$cat=$_POST['name']; | |
$no=$_POST['number']; | |
for($i=1;$i<$no;$i++) | |
{ | |
$url="http://www.goodreads.com/quotes/tag/".$cat."?page=".$i; |
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
<phone:PhoneApplicationPage.Resources> | |
<local:BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter" /> | |
<Style x:Key="HeaderedContentControlHeaderStyle" TargetType="ContentControl"> | |
<Setter Property="Foreground" Value="{StaticResource PhoneSubtleBrush}"/> | |
<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeNormal}"/> | |
<Setter Property="HorizontalAlignment" Value="Left"/> | |
</Style> | |
<Style x:Key="TextBoxHeaderStyle" BasedOn="{StaticResource HeaderedContentControlHeaderStyle}" TargetType="ContentControl"> | |
<Setter Property="Padding" Value="0,0,0,8"/> | |
</Style> |
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
public static void MoveReferenceDatabase() | |
{ | |
// Obtain the virtual store for the application. | |
IsolatedStorageFile iso = IsolatedStorageFile.GetUserStoreForApplication(); | |
// Create a stream for the file in the installation folder. | |
using (Stream input = Application.GetResourceStream(new Uri("DutchMe.sdf", UriKind.Relative)).Stream) | |
{ | |
// Create a stream for the new file in the local folder. | |
using (IsolatedStorageFileStream output = iso.CreateFile("DutchMe.sdf")) |
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
<?php | |
include 'simplexlsx.class.php'; | |
include 'config.php'; | |
$xlsx = new SimpleXLSX('ringtones.xlsx'); | |
$excel = array(array()); | |
$excel = $xlsx->rows(); | |
for($i=1;$i<sizeof($excel);$i++){ | |
$name = $excel[$i][0]; |
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
<?php | |
/* | |
SimpleXLSX php class v0.6.8 | |
MS Excel 2007 workbooks reader | |
Example 1: | |
$xlsx = new SimpleXLSX('book.xlsx'); | |
print_r( $xlsx->rows() ); | |
Example 2: |
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
<Style x:Key="TokkriHeaderStyle" TargetType="ContentControl"> | |
<Setter Property="FontSize" Value="16"/> | |
<Setter Property="FontWeight" Value="SemiBold"/> | |
<Setter Property="Foreground" Value="{StaticResource TokkriTheme}"/> | |
<Setter Property="Margin" Value="0,4,0,4"/> | |
<Setter Property="HorizontalAlignment" Value="Left"/> | |
</Style> | |
<Style x:Key="TokkriTextBox" TargetType="telerikPrimitives:RadTextBox"> | |
<Setter Property="HeaderStyle" Value="{StaticResource TokkriHeaderStyle}"/> | |
<Setter Property="Height" Value="108"/> |
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
<?php | |
error_reporting(-1); | |
//rest of php code | |
?> |
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
public void locationfinder() | |
{ | |
Deployment.Current.Dispatcher.BeginInvoke(() => | |
{ | |
GeoCoordinateWatcher g = new GeoCoordinateWatcher(GeoPositionAccuracy.High); | |
g.Start(); | |
if (g.Permission == GeoPositionPermission.Denied) | |
{ | |
App.phonelocationenabled = false; | |
// then we know it is off, else we assume it is on |
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
CustomMessageBox msg=new CustomMessageBox() | |
{ | |
Caption="Location Settings", | |
Message="Location seems to be disabled on your device. Do your want to change your settings?", | |
LeftButtonContent="yes", | |
RightButtonContent="no" | |
}; | |
msg.Dismissed += (s1, e1) => | |
{ | |
switch (e1.Result) |
OlderNewer