Cosmology Using Photometric Samples of Type Ia Supernovae: The First Joint Photometric Light Curve Analysis